diff options
| author | Colin Ian King <[email protected]> | 2019-03-18 10:57:49 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-19 14:31:39 +0100 |
| commit | 7d6009f2821270831ffc6c29b3bf58891e3583d7 (patch) | |
| tree | c64adeddbfe9ab6a56fe2bcdf93b8132204e6473 /tools/perf/scripts/python/bin | |
| parent | 7f2c439642688998c58ba99addabf819e6df57d0 (diff) | |
staging: ks7010: remove redundant auth_type check
The range check on auth_type is redundant as there is a prior
check on the auth_type values and the only way the block is entered
is if auth_type is one of TYPE_PMK1, TYPE_GMK1 and TYPE_GMK2. Hence
the auth_type check can be removed.
Detected by static analysis with cppcheck.
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Jeremy Sowden <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions