Skip to content

Commit 0c37bff

Browse files
jorgem-devhdeller
authored andcommitted
fbdev: uvesafb: Remove uvesafb_exec() prototype from include/video/uvesafb.h
uvesafb_exec() is a static function defined and called only in drivers/video/fbdev/uvesafb.c, remove the prototype from include/video/uvesafb.h. Fixes the warning: ./include/video/uvesafb.h:112:12: warning: 'uvesafb_exec' declared 'static' but never defined [-Wunused-function] when including '<video/uvesafb.h>' in an external program. Signed-off-by: Jorge Maidana <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent e638d37 commit 0c37bff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/video/uvesafb.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ struct uvesafb_ktask {
109109
u32 ack;
110110
};
111111

112-
static int uvesafb_exec(struct uvesafb_ktask *tsk);
113-
114112
#define UVESAFB_EXACT_RES 1
115113
#define UVESAFB_EXACT_DEPTH 2
116114

0 commit comments

Comments
 (0)