aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/debug.c
diff options
context:
space:
mode:
authorSudip Mukherjee <[email protected]>2016-04-07 15:35:07 +0000
committerGreg Kroah-Hartman <[email protected]>2016-04-18 19:33:15 +0000
commit7ce04cff59d510c88bfa0745202281cf3c6417ae (patch)
tree21a7aeb68ea35902b3a7b171f521b29c0479b9f8 /drivers/usb/storage/debug.c
parentusbip: event handler as one thread (diff)
downloadkernel-7ce04cff59d510c88bfa0745202281cf3c6417ae.tar.gz
kernel-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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/storage/debug.c')
0 files changed, 0 insertions, 0 deletions