diff options
Diffstat (limited to 'drivers/usb/misc/sisusbvga/sisusb.c')
-rw-r--r-- | drivers/usb/misc/sisusbvga/sisusb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c index 4d6b89336e63..033bdfe9b215 100644 --- a/drivers/usb/misc/sisusbvga/sisusb.c +++ b/drivers/usb/misc/sisusbvga/sisusb.c | |||
@@ -2440,10 +2440,8 @@ sisusb_open(struct inode *inode, struct file *file) | |||
2440 | struct usb_interface *interface; | 2440 | struct usb_interface *interface; |
2441 | int subminor = iminor(inode); | 2441 | int subminor = iminor(inode); |
2442 | 2442 | ||
2443 | if (!(interface = usb_find_interface(&sisusb_driver, subminor))) { | 2443 | if (!(interface = usb_find_interface(&sisusb_driver, subminor))) |
2444 | dev_err(&sisusb->sisusb_dev->dev, "Failed to find interface\n"); | ||
2445 | return -ENODEV; | 2444 | return -ENODEV; |
2446 | } | ||
2447 | 2445 | ||
2448 | if (!(sisusb = usb_get_intfdata(interface))) | 2446 | if (!(sisusb = usb_get_intfdata(interface))) |
2449 | return -ENODEV; | 2447 | return -ENODEV; |