diff options
| author | Hans de Goede <[email protected]> | 2019-05-21 21:54:12 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-05-22 14:32:41 +0200 |
| commit | 99803f17ded0f2193e81cad9deddf318f4c34e4b (patch) | |
| tree | de8ecc98bcf7ca2c831d4450414211a2e2274e8f /tools/perf/scripts/python | |
| parent | b5a0c29f4b43d17c0a2110264cab787e98bd8a53 (diff) | |
staging: rtl8723bs: Fix Coverity warning in rtw_dbg_port()
Fix the following Coverity warning:
File: drivers/staging/rtl8723bs/os_dep/ioctl_linux.c in function
rtw_dbg_port():
CID 18480: Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
dead_error_condition: The condition (extra_arg & 7U) > 7U cannot be true.
if ((extra_arg & 0x07) > 0x07)
padapter->driver_ampdu_spacing = 0xFF;
else
padapter->driver_ampdu_spacing = extra_arg;
Reported-by: Colin Ian King <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions