mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Sudip Mukherjee <sudipm.mukherjee@gmail.com>,
	Steve Glendinning <steve.glendinning@shawell.net>
Cc: <linux-kernel@vger.kernel.org>, <linux-fbdev@vger.kernel.org>
Subject: Re: [PATCH] video: smscufx: remove unused variable
Date: Tue, 27 Sep 2016 11:48:11 +0300	[thread overview]
Message-ID: <26515073-e9e6-9351-c213-ccae571c87a6@ti.com> (raw)
In-Reply-To: <1464178788-10591-1-git-send-email-sudipm.mukherjee@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 815 bytes --]

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@codethink.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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2016-09-27  8:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25 12:19 Sudip Mukherjee
2016-09-27  8:48 ` Tomi Valkeinen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26515073-e9e6-9351-c213-ccae571c87a6@ti.com \
    --to=tomi.valkeinen@ti.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=steve.glendinning@shawell.net \
    --cc=sudipm.mukherjee@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®