Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67889
b: refs/heads/master
c: e6d42f0
h: refs/heads/master
i:
  67887: 7036768
v: v3
  • Loading branch information
Satyam Sharma authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent 18c5902 commit ef2f49a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5adceac5da3d353dd1318d0482cab94a79472adf
refs/heads/master: e6d42f0e962390e956545aa282efb05a9d6a41d1
4 changes: 1 addition & 3 deletions trunk/drivers/usb/misc/sisusbvga/sisusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2440,10 +2440,8 @@ sisusb_open(struct inode *inode, struct file *file)
struct usb_interface *interface;
int subminor = iminor(inode);

if (!(interface = usb_find_interface(&sisusb_driver, subminor))) {
dev_err(&sisusb->sisusb_dev->dev, "Failed to find interface\n");
if (!(interface = usb_find_interface(&sisusb_driver, subminor)))
return -ENODEV;
}

if (!(sisusb = usb_get_intfdata(interface)))
return -ENODEV;
Expand Down

0 comments on commit ef2f49a

Please sign in to comment.