diff options
author | Alexander Popov <alpopov@ptsecurity.com> | 2016-04-28 13:07:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-28 12:28:08 -0700 |
commit | 8c7003a3b4b4afd3734cdcc39217ef22d78a4a16 (patch) | |
tree | 7656c24704aa78152ee7fd91c8ce19c0f813321a /drivers/usb/usbip/stub.h | |
parent | 2bdf6ea51ce8dcd98f4f394d7203dbace01f5cbc (diff) | |
download | linux-8c7003a3b4b4afd3734cdcc39217ef22d78a4a16.tar.gz linux-8c7003a3b4b4afd3734cdcc39217ef22d78a4a16.tar.bz2 linux-8c7003a3b4b4afd3734cdcc39217ef22d78a4a16.zip |
usbip: fix NULL pointer dereference on errors
Fix NULL pointer dereference and obsolete comments forgotten when
usbip server was converted from an interface driver to a device driver.
Signed-off-by: Alexander Popov <alpopov@ptsecurity.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/stub.h')
-rw-r--r-- | drivers/usb/usbip/stub.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/usbip/stub.h b/drivers/usb/usbip/stub.h index 266e2b0ce9a8..910f027773aa 100644 --- a/drivers/usb/usbip/stub.h +++ b/drivers/usb/usbip/stub.h @@ -33,7 +33,6 @@ #define STUB_BUSID_ALLOC 3 struct stub_device { - struct usb_interface *interface; struct usb_device *udev; struct usbip_device ud; |