summaryrefslogtreecommitdiff
path: root/drivers/media/usb/stk1160
diff options
context:
space:
mode:
authorEzequiel GarcĂ­a <elezegarcia@gmail.com>2012-08-23 23:32:57 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-15 18:49:14 +0400
commitb0c47e1ec2a5d66df4ef5d34055a919140aa386a (patch)
tree218a005b7c90814dca718e9c2c16ac853a70c5bf /drivers/media/usb/stk1160
parentef925e52119e149f9321b948c2cd0bdce755c917 (diff)
downloadlinux-b0c47e1ec2a5d66df4ef5d34055a919140aa386a.tar.xz
[media] stk1160: Remove unused 'ifnum' variable
Since ifnum is not used anywhere it is safe to remove it. This was spotted by Hans's media_tree daily build. Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/stk1160')
-rw-r--r--drivers/media/usb/stk1160/stk1160-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/stk1160/stk1160-core.c b/drivers/media/usb/stk1160/stk1160-core.c
index 74236fd3b7ec..b62740846061 100644
--- a/drivers/media/usb/stk1160/stk1160-core.c
+++ b/drivers/media/usb/stk1160/stk1160-core.c
@@ -256,14 +256,12 @@ static int stk1160_scan_usb(struct usb_interface *intf, struct usb_device *udev,
static int stk1160_probe(struct usb_interface *interface,
const struct usb_device_id *id)
{
- int ifnum;
int rc = 0;
unsigned int *alt_max_pkt_size; /* array of wMaxPacketSize */
struct usb_device *udev;
struct stk1160 *dev;
- ifnum = interface->altsetting[0].desc.bInterfaceNumber;
udev = interface_to_usbdev(interface);
/*