diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-21 22:00:56 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-21 22:00:56 +0000 |
commit | 168660f24dfc46c2702acbe4701a446f42a59578 (patch) | |
tree | f431368afbf6b1b71809cf3fd904d800ea126f4d /drivers/usb/usb.c | |
parent | 6420f767924fa73b0ea267864d96820815f4ba5a (diff) |
Merge with Linux 2.4.0-test5-pre3.
Diffstat (limited to 'drivers/usb/usb.c')
-rw-r--r-- | drivers/usb/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/usb.c b/drivers/usb/usb.c index 9c650cfdc..bfac6098b 100644 --- a/drivers/usb/usb.c +++ b/drivers/usb/usb.c @@ -428,7 +428,7 @@ int usb_interface_claimed(struct usb_interface *iface) void usb_driver_release_interface(struct usb_driver *driver, struct usb_interface *iface) { /* this should never happen, don't release something that's not ours */ - if (iface->driver != driver || !iface) + if (!iface || iface->driver != driver) return; iface->driver = NULL; |