Re: [PATCH 3/3] Staging: xgifb: Remove unused function

Dan Carpenter
2011-02-21T17:26:09Z

On Mon, Feb 21, 2011 at 06:16:45PM +0100, Javier Martinez Canillas wrote:
> --- a/drivers/staging/xgifb/XGI_main_26.c
> +++ b/drivers/staging/xgifb/XGI_main_26.c
> @@ -1741,7 +1741,7 @@ 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_sync = NULL,

It doesn't need to be set explicitly. It gets initialized to NULL
automatically by default.

regards,
dan carpenter

> .fb_ioctl = XGIfb_ioctl,
> /* .fb_mmap = XGIfb_mmap, */
> };
> --
> 1.7.0.4