Commit 85c3c562 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman

staging: xgifb: eliminate fbcon_XGI_copyarea()

fbcon_XGI_copyarea() implementation is trivial and can be replaced with
cfb_copyarea().
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a2396dfc
......@@ -123,12 +123,3 @@ void fbcon_XGI_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
cfb_fillrect(info, rect);
return;
}
void fbcon_XGI_copyarea(struct fb_info *info, const struct fb_copyarea *area)
{
cfb_copyarea(info, area);
return;
}
......@@ -479,7 +479,5 @@ int fbcon_XGI_sync(struct fb_info *info);
extern struct video_info xgi_video_info;
void fbcon_XGI_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
void fbcon_XGI_copyarea(struct fb_info *info, const struct fb_copyarea *area);
#endif
......@@ -795,8 +795,6 @@ static int XGIfb_blank(int blank,
*/
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);
static int XGIfb_ioctl(struct fb_info *info, unsigned int cmd,
unsigned long arg);
......
......@@ -1739,7 +1739,7 @@ static struct fb_ops XGIfb_ops = {
#endif
.fb_blank = XGIfb_blank,
.fb_fillrect = fbcon_XGI_fillrect,
.fb_copyarea = fbcon_XGI_copyarea,
.fb_copyarea = cfb_copyarea,
.fb_imageblit = cfb_imageblit,
.fb_ioctl = XGIfb_ioctl,
/* .fb_mmap = XGIfb_mmap, */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment