diff options
author | Martin Kaiser <martin@kaiser.cx> | 2021-10-24 20:04:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-25 09:09:44 +0200 |
commit | 8590f5db39e3c2ef070d5b9fee169143912f8469 (patch) | |
tree | d2fedfea4d2b7a1efabbdc72425f6aefa9563d5f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dae4c880a8ded5d44d4929bf51bd4f2b5a9fc88a (diff) |
staging: r8188eu: wifi_error_status is write-only
wifi_error_status in struct sreset_priv is set in a couple of places,
its value is never used.
Remove wifi_error_status itself, the defines for the possible values and
the sreset_set_wifi_error_status function.
Rewrite the if statement in usb_write_port_complete. For purb->status ==
-EPIPE or -EPROTO, nothing should be done.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211024180448.20624-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions