1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee
Yang Li 8e04a06530 rtlwifi: rtl8188ee: remove redundant assignment of variable rtlpriv->btcoexist.reg_bt_sco
Assigning value "3" to "rtlpriv->btcoexist.reg_bt_sco" here, but that
stored value is overwritten before it can be used.

Coverity reports this problem as
CWE563: A value assigned to a variable is never used.
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c:
rtl8188ee_bt_reg_init

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1617182023-110950-1-git-send-email-yang.lee@linux.alibaba.com
2021-04-17 20:30:01 +03:00
..
def.h rtlwifi: rtl8188ee: rtl8192ce: rtl8192de: rtl8723ae: rtl8821ae: Remove some unused bit manipulation macros 2019-09-13 17:55:40 +03:00
dm.c rtlwifi: rtl8188ee: fix bool comparison in expressions 2021-01-25 16:21:07 +02:00
dm.h rtlwifi: rtl8188ee: Replace old-style license information 2019-02-19 16:59:50 +02:00
fw.c rtlwifi: rtl8188ee: Rename RT_TRACE to rtl_dbg 2020-08-31 18:25:47 +03:00
fw.h rtlwifi: rtl8188ee: Remove usage of private bit manipulation 2019-12-18 20:22:27 +02:00
hw.c rtlwifi: rtl8188ee: remove redundant assignment of variable rtlpriv->btcoexist.reg_bt_sco 2021-04-17 20:30:01 +03:00
hw.h rtlwifi: rtl8188ee: Replace old-style license information 2019-02-19 16:59:50 +02:00
led.c rtlwifi: rtl8188ee: Rename RT_TRACE to rtl_dbg 2020-08-31 18:25:47 +03:00
led.h rtlwifi: rtl8188ee: Replace old-style license information 2019-02-19 16:59:50 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy.c rtlwifi: rtl8188ee: Remove set but unused variable 'reg_ea4' 2020-11-07 18:14:42 +02:00
phy.h rtlwifi: rtl8188ee: Replace old-style license information 2019-02-19 16:59:50 +02:00
pwrseq.c rtlwifi: rtl8188ee: Replace old-style license information 2019-02-19 16:59:50 +02:00
pwrseq.h rtlwifi: rtl8188ee: Replace old-style license information 2019-02-19 16:59:50 +02:00
reg.h rtlwifi: rtl8188ee: Replace old-style license information 2019-02-19 16:59:50 +02:00
rf.c rtlwifi: rtl8188ee: Rename RT_TRACE to rtl_dbg 2020-08-31 18:25:47 +03:00
rf.h rtlwifi: rtl8188ee: Replace old-style license information 2019-02-19 16:59:50 +02:00
sw.c rtlwifi: rtl8188ee: use true,false for bool variables 2020-04-21 15:57:51 +03:00
table.c rtlwifi: rtl8188ee: Replace old-style license information 2019-02-19 16:59:50 +02:00
table.h rtlwifi: rtl8188ee: Replace old-style license information 2019-02-19 16:59:50 +02:00
trx.c rtlwifi: rtl8188ee: avoid accessing the data mapped to streaming DMA 2020-11-24 17:06:34 +02:00
trx.h rtlwifi: rtl8188ee: Fix regression due to commit d1d1a96bdb 2020-03-12 15:31:39 +02:00