diff options
author | 2016-04-07 21:05:07 +0530 | |
---|---|---|
committer | 2016-04-19 04:33:15 +0900 | |
commit | 7ce04cff59d510c88bfa0745202281cf3c6417ae (patch) | |
tree | 21a7aeb68ea35902b3a7b171f521b29c0479b9f8 /include/linux/usb.h | |
parent | usbip: event handler as one thread (diff) | |
download | wireguard-linux-7ce04cff59d510c88bfa0745202281cf3c6417ae.tar.xz wireguard-linux-7ce04cff59d510c88bfa0745202281cf3c6417ae.zip |
usb: wusbcore: remove unreachable code
The call to wusb_dev_sysfs_rm() which is just after return will never
be executed. On checking the code, wusb_dev_sysfs_add() is the last one
to be executed so even if that fails we do not need wusb_dev_sysfs_rm()
in the error path.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb.h')
0 files changed, 0 insertions, 0 deletions