Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da1545c0 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Greg Kroah-Hartman
Browse files

Staging: xgifb: Remove unused function fbcon_XGI_sync



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: default avatarJavier Martinez Canillas <martinez.javier@gmail.com>
Acked-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 522f1f63
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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)
+0 −1
Original line number Diff line number Diff line
@@ -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);
+0 −1
Original line number Diff line number Diff line
@@ -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, */
};