aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/usb.h
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-04-07 21:05:07 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-19 04:33:15 +0900
commit7ce04cff59d510c88bfa0745202281cf3c6417ae (patch)
tree21a7aeb68ea35902b3a7b171f521b29c0479b9f8 /include/linux/usb.h
parentusbip: event handler as one thread (diff)
downloadwireguard-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