diff options
author | Martin Kaiser <[email protected]> | 2021-10-24 20:04:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-10-25 09:09:44 +0200 |
commit | 8590f5db39e3c2ef070d5b9fee169143912f8469 (patch) | |
tree | d2fedfea4d2b7a1efabbdc72425f6aefa9563d5f /drivers/usb/cdns3/cdns3-trace.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions