Skip to content

Commit

Permalink
vga16fb: Remove unused variable
Browse files Browse the repository at this point in the history
Fix build warning of unused variable:

drivers/video/vga16fb.c:1268:26: warning: unused variable ‘dev’ [-Wunused-variable]

Signed-off-by: Luis Henriques<luis.henriques@canonical.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Luis Henriques authored and Tomi Valkeinen committed Jul 26, 2013
1 parent bf265c8 commit f64279c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/video/vga16fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,6 @@ static void vga16fb_imageblit(struct fb_info *info, const struct fb_image *image

static void vga16fb_destroy(struct fb_info *info)
{
struct platform_device *dev = container_of(info->device, struct platform_device, dev);
iounmap(info->screen_base);
fb_dealloc_cmap(&info->cmap);
/* XXX unshare VGA regions */
Expand Down

0 comments on commit f64279c

Please sign in to comment.