[staging:staging-next 256/294] drivers/staging/rtl8723bs/hal/hal_btcoex.c:1415: warning: unused variable 'ret2'
kbuild test robot
fengguang.wu at intel.com
Thu Oct 19 23:38:08 UTC 2017
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next
head: 4bdd439fe2a7ce14f2b86bf138b24e2fa3615507
commit: 95b3b4238581e72756505d601948f955e8baccf7 [256/294] staging: rtl8723bs: remove ternary operators in assignmet statments
config: x86_64-randconfig-v0-10200632 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout 95b3b4238581e72756505d601948f955e8baccf7
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/staging/rtl8723bs/hal/hal_btcoex.c: In function 'hal_btcoex_Initialize':
>> drivers/staging/rtl8723bs/hal/hal_btcoex.c:1415: warning: unused variable 'ret2'
>> drivers/staging/rtl8723bs/hal/hal_btcoex.c:1414: warning: unused variable 'ret1'
vim +/ret2 +1415 drivers/staging/rtl8723bs/hal/hal_btcoex.c
554c0a3ab Hans de Goede 2017-03-29 1411
554c0a3ab Hans de Goede 2017-03-29 1412 u8 hal_btcoex_Initialize(struct adapter *padapter)
554c0a3ab Hans de Goede 2017-03-29 1413 {
554c0a3ab Hans de Goede 2017-03-29 @1414 u8 ret1;
554c0a3ab Hans de Goede 2017-03-29 @1415 u8 ret2;
554c0a3ab Hans de Goede 2017-03-29 1416
554c0a3ab Hans de Goede 2017-03-29 1417
554c0a3ab Hans de Goede 2017-03-29 1418 memset(&GLBtCoexist, 0, sizeof(GLBtCoexist));
95b3b4238 Aastha Gupta 2017-10-08 1419 return EXhalbtcoutsrc_InitlizeVariables((void *)padapter);
554c0a3ab Hans de Goede 2017-03-29 1420 }
554c0a3ab Hans de Goede 2017-03-29 1421
:::::: The code at line 1415 was first introduced by commit
:::::: 554c0a3abf216c991c5ebddcdb2c08689ecd290b staging: Add rtl8723bs sdio wifi driver
:::::: TO: Hans de Goede <hdegoede at redhat.com>
:::::: CC: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 26158 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20171020/7af07326/attachment-0001.bin>
More information about the devel
mailing list