Skip to content

Commit

Permalink
[media] stk1160: Remove unused 'ifnum' variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ezequiel García authored and Mauro Carvalho Chehab committed Sep 15, 2012
1 parent ef925e5 commit b0c47e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/usb/stk1160/stk1160-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*
Expand Down

0 comments on commit b0c47e1

Please sign in to comment.