summaryrefslogtreecommitdiffstats
path: root/drivers/video/vga16fb.c
diff options
context:
space:
mode:
authorLuis Henriques <luis.henriques@canonical.com>2013-07-11 00:57:00 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-07-26 09:28:50 +0200
commitf64279c8a3597137f6e39a8f3ade9db9d66684e8 (patch)
tree0b50487c71372b38710b7f371452aafe9c01d444 /drivers/video/vga16fb.c
parentvideo: xilinxfb: Fix compilation warning (diff)
downloadlinux-f64279c8a3597137f6e39a8f3ade9db9d66684e8.tar.xz
linux-f64279c8a3597137f6e39a8f3ade9db9d66684e8.zip
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/vga16fb.c')
-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 */