summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-05-25 15:19:48 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-09-27 11:47:37 +0300
commitc456a2f30de53e77a2eb8eeb4202d742516aa76b (patch)
tree5c141f624d7e5419285f0e32728bc16bc80541e9 /drivers/video
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')
-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 9279e5f6696e..ec2e7e353685 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");