aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorPhillip Potter <[email protected]>2021-08-30 00:45:40 +0100
committerGreg Kroah-Hartman <[email protected]>2021-09-13 08:49:42 +0200
commit9c275897b14618aa34a089e9c78ee82d17694f4f (patch)
tree72616f88e5224e44753f7a768726d562ced5e195 /tools/perf/scripts/python/libxed.py
parenta6bcac71c3373887d2b57c7987368d35e6f54240 (diff)
staging: r8188eu: simplify c2h_evt_hdl function
Simplify c2h_evt_hdl function by removing majority of its code. The function always returned _FAIL anyway, due to the wrapper function it calls always returning _FAIL, and its one caller doesn't use the return value, so this function should just have a return type of void. Leave the call to c2h_evt_read in place, as without it, event handling semantics of the driver would be changed, despite nothing actually being done with the event. Acked-by: Fabio M. De Francesco <[email protected]> Acked-by: Michael Straube <[email protected]> Signed-off-by: Phillip Potter <[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/libxed.py')
0 files changed, 0 insertions, 0 deletions