Skip to content

Commit

Permalink
video: smscufx: remove unused variable
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Sudip Mukherjee authored and Tomi Valkeinen committed Sep 27, 2016
1 parent 59921b2 commit c456a2f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/fbdev/smscufx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1761,10 +1761,8 @@ static int ufx_usb_probe(struct usb_interface *interface,
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");

Expand Down

0 comments on commit c456a2f

Please sign in to comment.