aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorPavel Skripkin <[email protected]>2021-09-05 23:42:18 +0300
committerGreg Kroah-Hartman <[email protected]>2021-09-13 08:49:49 +0200
commit07f32223c098cccfd549f996db76a5c578902e93 (patch)
tree37e669e76ed863db3abd2c6fde1c500fee53127e /tools/perf/scripts/python/netdev-times.py
parenta0b8f4ece65ef509fb9a0c040b99a98291c38371 (diff)
staging: r8188eu: remove useless check
smatch says: usb_intf.c:326 rtw_hw_suspend() warn: variable dereferenced before check 'padapter' (see line 323) usb_intf.c:387 rtw_hw_resume() warn: variable dereferenced before check 'padapter' (see line 385) There is only one caller of rtw_hw_suspend() and it does not check padapter pointer, so let's just omit this check to make smatch happy. Signed-off-by: Pavel Skripkin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions