]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
fbdev: uvesafb: Remove uvesafb_exec() prototype from include/video/uvesafb.h
authorJorge Maidana <jorgem.linux@gmail.com>
Fri, 6 Oct 2023 20:43:46 +0000 (17:43 -0300)
committerHelge Deller <deller@gmx.de>
Mon, 16 Oct 2023 21:19:34 +0000 (23:19 +0200)
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 <jorgem.linux@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
include/video/uvesafb.h

index 8d2a3bfc8dac2c7a04f234750fdf0f035f1c78f6..47d96e75e8ef9215415e95910a459c7a7c4cc14c 100644 (file)
@@ -109,8 +109,6 @@ struct uvesafb_ktask {
        u32 ack;
 };
 
-static int uvesafb_exec(struct uvesafb_ktask *tsk);
-
 #define UVESAFB_EXACT_RES      1
 #define UVESAFB_EXACT_DEPTH    2