summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-05-25 12:19:48 (GMT)
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-09-27 08:47:37 (GMT)
commitc456a2f30de53e77a2eb8eeb4202d742516aa76b (patch)
tree5c141f624d7e5419285f0e32728bc16bc80541e9 /drivers/video/fbdev
parent59921b239056fb6389a865083284e00ce0518db6 (diff)
downloadlinux-c456a2f30de53e77a2eb8eeb4202d742516aa76b.tar.xz
video: smscufx: remove unused variable
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>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/smscufx.c2
1 files changed, 0 insertions, 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");