From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xishi Qiu Date: Wed, 31 Jul 2013 03:21:02 +0000 Subject: [PATCH] fbdev: fix build warning in vga16fb.c Message-Id: <51F8829E.4080605@huawei.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: plagnioj@jcrosoft.com, tomi.valkeinen@ti.com, linux-fbdev@vger.kernel.org, LKML When building v3.11-rc3, I get the following warning: ... drivers/video/vga16fb.c: In function =91vga16fb_destroy=92: drivers/video/vga16fb.c:1268: warning: unused variable =91dev=92 ... Signed-off-by: Xishi Qiu --- drivers/video/vga16fb.c | 1 - 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, c= onst struct fb_image *image =20 static void vga16fb_destroy(struct fb_info *info) { - struct platform_device *dev =3D container_of(info->device, struct platfor= m_device, dev); iounmap(info->screen_base); fb_dealloc_cmap(&info->cmap); /* XXX unshare VGA regions */ --=20 1.7.1