diff options
| author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2023-02-17 20:49:12 +0200 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2023-02-22 14:31:16 +0200 |
| commit | b9b1e4fe2957f361c86e288ecf373dc7895cf7c7 (patch) | |
| tree | 85de1a3c804f379d8fca90fb09a3240a84a79296 /scripts/gdb/linux/proc.py | |
| parent | c6aa9a9c47252ac7b07ed6d10459027e2f2a2de0 (diff) | |
wifi: rtl8xxxu: Remove always true condition in rtl8xxxu_print_chipinfo
Fix a new smatch warning:
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:1580 rtl8xxxu_print_chipinfo() warn: always true condition '(priv->chip_cut <= 15) => (0-15 <= 15)'
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202302140753.71IgU77A-lkp@intel.com/
Fixes: 7b0ac469e331 ("wifi: rtl8xxxu: Recognise all possible chip cuts")
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/68eff98b-a022-5a00-f330-adf623a35772@gmail.com
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
