Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754608Ab3GYDko (ORCPT ); Wed, 24 Jul 2013 23:40:44 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:4733 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752641Ab3GYDkm (ORCPT ); Wed, 24 Jul 2013 23:40:42 -0400 X-IronPort-AV: E=Sophos;i="4.89,740,1367942400"; d="scan'208";a="8015175" Message-ID: <51F09D5E.70304@cn.fujitsu.com> Date: Thu, 25 Jul 2013 11:37:02 +0800 From: Gu Zheng User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 MIME-Version: 1.0 To: plagnioj@jcrosoft.com, tomi.valkeinen@ti.com CC: linux-fbdev@vger.kernel.org, linux-kernel Subject: [PATCH] driver/vga16fb.c: remove the unused variable "dev" of function vga16fb_destroy() X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/07/25 11:38:37, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/07/25 11:38:38, Serialize complete at 2013/07/25 11:38:38 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 28 Commit e21d2170f36602ae2708 removed the unnecessary platform_set_drvdata(), but left the variable "dev" unused, delete it. Signed-off-by: Gu Zheng --- 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, 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 */ -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/