diff options
| author | Sudip Mukherjee <[email protected]> | 2016-04-07 21:05:07 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-19 04:33:15 +0900 |
| commit | 7ce04cff59d510c88bfa0745202281cf3c6417ae (patch) | |
| tree | 21a7aeb68ea35902b3a7b171f521b29c0479b9f8 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | bb7871ad99ea814565c3d6b551e039c71f24cbb3 (diff) | |
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 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions