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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux