]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: xgifb: Remove unused function fbcon_XGI_sync
authorJavier Martinez Canillas <martinez.javier@gmail.com>
Mon, 21 Feb 2011 17:44:35 +0000 (18:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Feb 2011 22:19:33 +0000 (14:19 -0800)
Due a cleanup in earlier patches, the function fbcon_XGI_sync now does nothing
so it has to be removed.

This patches removes the unused function.

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Acked-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_accel.c
drivers/staging/xgifb/XGI_main.h
drivers/staging/xgifb/XGI_main_26.c

index 7c69e0711a902c9fc87231627e19e719b3542a2e..905b34ae5e9bb8f12f44512cadb5d1acf248ec89 100644 (file)
@@ -115,11 +115,6 @@ void XGIfb_syncaccel(void)
 
 }
 
-int fbcon_XGI_sync(struct fb_info *info)
-{
-       return 0;
-}
-
 void fbcon_XGI_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
 {
        if (!rect->width || !rect->height)
index e8e2bfe7557393aeeb1cb5832d88d5fbdc7f829c..1b454148cb7879c27cdd1b55225ef5e87614cc94 100644 (file)
@@ -797,7 +797,6 @@ extern void     fbcon_XGI_fillrect(struct fb_info *info,
                                    const struct fb_fillrect *rect);
 extern void     fbcon_XGI_copyarea(struct fb_info *info,
                                    const struct fb_copyarea *area);
-extern int      fbcon_XGI_sync(struct fb_info *info);
 
 static int XGIfb_ioctl(struct fb_info *info, unsigned int cmd,
                            unsigned long arg);
index b52e11f3e4c60c92e2684aaaf0b0fdfeb06625bc..c77ac4ad5094d5673b959f8e41f523fc32e56359 100644 (file)
@@ -1741,7 +1741,6 @@ static struct fb_ops XGIfb_ops = {
        .fb_fillrect = fbcon_XGI_fillrect,
        .fb_copyarea = fbcon_XGI_copyarea,
        .fb_imageblit = cfb_imageblit,
-       .fb_sync = fbcon_XGI_sync,
        .fb_ioctl = XGIfb_ioctl,
        /* .fb_mmap = XGIfb_mmap, */
 };