[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>
This commit is contained in:
Родитель
ef925e5211
Коммит
b0c47e1ec2
|
@ -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,
|
static int stk1160_probe(struct usb_interface *interface,
|
||||||
const struct usb_device_id *id)
|
const struct usb_device_id *id)
|
||||||
{
|
{
|
||||||
int ifnum;
|
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
|
|
||||||
unsigned int *alt_max_pkt_size; /* array of wMaxPacketSize */
|
unsigned int *alt_max_pkt_size; /* array of wMaxPacketSize */
|
||||||
struct usb_device *udev;
|
struct usb_device *udev;
|
||||||
struct stk1160 *dev;
|
struct stk1160 *dev;
|
||||||
|
|
||||||
ifnum = interface->altsetting[0].desc.bInterfaceNumber;
|
|
||||||
udev = interface_to_usbdev(interface);
|
udev = interface_to_usbdev(interface);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче