summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorLuis Henriques <luis.henriques@canonical.com>2013-07-10 23:57:00 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-07-26 10:28:50 +0300
commitf64279c8a3597137f6e39a8f3ade9db9d66684e8 (patch)
tree0b50487c71372b38710b7f371452aafe9c01d444 /drivers/video
parentbf265c848f162c3189f6e3f0ba619de1a82bcbdc (diff)
downloadop-kernel-dev-f64279c8a3597137f6e39a8f3ade9db9d66684e8.zip
op-kernel-dev-f64279c8a3597137f6e39a8f3ade9db9d66684e8.tar.gz
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 830ded4..2827333 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 */
OpenPOWER on IntegriCloud