diff options
| author | 2022-02-06 17:18:04 +0100 | |
|---|---|---|
| committer | 2022-02-08 10:29:02 +0100 | |
| commit | de424be4e976a43d89c04f2fbc6530ea3bf28df8 (patch) | |
| tree | d173e191cfecffda2e07384b9f079a23747a9903 /tools/perf/scripts | |
| parent | staging: r8188eu: remove unused enum _ADAPTER_TYPE (diff) | |
staging: r8188eu: remove the global DriverState
DriverState in struct adapter is never set. It remains 0 (DRIVER_NORMAL)
all the time, DriverState != DRIVER_DISAPPEAR is always true.
Both DriverState and the check can be removed. enum driver_state contains
the possible values of DriverState. This enum can be removed as well.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220206161809.423031-10-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
