[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <26515073-e9e6-9351-c213-ccae571c87a6@ti.com>
Date: Tue, 27 Sep 2016 11:48:11 +0300
From: Tomi Valkeinen <tomi.valkeinen@...com>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>,
Steve Glendinning <steve.glendinning@...well.net>
CC: <linux-kernel@...r.kernel.org>, <linux-fbdev@...r.kernel.org>
Subject: Re: [PATCH] video: smscufx: remove unused variable
On 25/05/16 15:19, Sudip Mukherjee wrote:
> The variable was only assigned with the pointer but was never used.
> We can safely remove it.
>
> Signed-off-by: Sudip Mukherjee <sudip.mukherjee@...ethink.co.uk>
> ---
> drivers/video/fbdev/smscufx.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/video/fbdev/smscufx.c b/drivers/video/fbdev/smscufx.c
> index 9279e5f..ec2e7e3 100644
> --- a/drivers/video/fbdev/smscufx.c
> +++ b/drivers/video/fbdev/smscufx.c
> @@ -1761,10 +1761,8 @@ error:
> static void ufx_usb_disconnect(struct usb_interface *interface)
> {
> struct ufx_data *dev;
> - struct fb_info *info;
>
> dev = usb_get_intfdata(interface);
> - info = dev->info;
>
> pr_debug("USB disconnect starting\n");
>
>
Thanks, queued for 4.9.
Tomi
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists