aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2022-11-06 13:48:57 +0100
committerGreg Kroah-Hartman <[email protected]>2022-11-08 16:29:29 +0100
commitd44fa4cb2e30fc22b2763fd425f2c48be958354f (patch)
treeb0a7ee3520b8e980992e97d71c7c2e48afeaa312 /scripts/gdb/linux/timerlist.py
parent2dbc324eaab66098ae485114b0862653355a0a2b (diff)
staging: r8188eu: remove state checks in rtw_led_control
There's no need to check for bSurpriseRemoved or bDriverStopped in the rtw_led_control function. This function schedules a delayed worker which calls SwLedOn or SwLedOff (or the function calls SwLedOff directly). SwLedOn and SwLedOff check bDriverStopped themselves or they initiate a USB control transfer via usb_write, where bSurpriseRemoved is checked. Signed-off-by: Martin Kaiser <[email protected]> Tested-by: Philipp Hortmann <[email protected]> # Edimax N150 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions