summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorLuis Henriques <luis.henriques@canonical.com>2013-07-11 02:57:00 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-07-26 11:28:50 +0400
commitf64279c8a3597137f6e39a8f3ade9db9d66684e8 (patch)
tree0b50487c71372b38710b7f371452aafe9c01d444 /drivers/video
parentbf265c848f162c3189f6e3f0ba619de1a82bcbdc (diff)
downloadlinux-f64279c8a3597137f6e39a8f3ade9db9d66684e8.tar.xz
vga16fb: Remove unused variable
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/vga16fb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/vga16fb.c b/drivers/video/vga16fb.c
index 830ded45fd47..2827333703d9 100644
--- a/drivers/video/vga16fb.c
+++ b/drivers/video/vga16fb.c
@@ -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 */