[staging:staging-next 256/294] drivers/staging/rtl8723bs/hal/hal_btcoex.c:1415: warning: unused variable 'ret2'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux