From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jingoo Han Date: Mon, 15 Jul 2013 07:13:56 +0000 Subject: Re: [PATCH] video: remove unused variable "dev" in vga16fb_destroy() Message-Id: <000101ce812a$dec735d0$9c55a170$@samsung.com> List-Id: References: <1373869765-52572-1-git-send-email-wangyijing@huawei.com> In-Reply-To: <1373869765-52572-1-git-send-email-wangyijing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: 'Yijing Wang' , 'Jean-Christophe Plagniol-Villard' , 'Tomi Valkeinen' Cc: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, 'Hanjun Guo' , jiang.liu@huawei.com, Jingoo Han On Monday, July 15, 2013 3:29 PM, Yijing Wang wrote: > > Delete unused variable "dev" to fix build warning in > drivers/video/vga16fb.c > > Signed-off-by: Yijing Wang > Cc: Jingoo Han It looks good. Reviewed-by: Jingoo Han Best regards, Jingoo Han > --- > 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.1