* drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:528:30: warning: variable 'phal' set but not used
@ 2026-08-31 5:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-31 5:53 UTC (permalink / raw)
To: Nikolay Kulikov; +Cc: oe-kbuild-all, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: cee9395acd8043be0644b25c34bfa86623f2b935
commit: e9b50a2821bbfb5395cc2b9f90e2af45a3137f19 staging: rtl8723bs: remove unused spinlock 'SdioTxFIFOFreePageLock'
date: 5 weeks ago
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20260831/202608310749.mheatdIW-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260831/202608310749.mheatdIW-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Fixes: e9b50a2821bb ("staging: rtl8723bs: remove unused spinlock 'SdioTxFIFOFreePageLock'")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608310749.mheatdIW-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c: In function 'rtl8723bs_init_xmit_priv':
>> drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:528:30: warning: variable 'phal' set but not used [-Wunused-but-set-variable=]
528 | struct hal_com_data *phal;
| ^~~~
vim +/phal +528 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
554c0a3abf216c Hans de Goede 2017-03-29 518
554c0a3abf216c Hans de Goede 2017-03-29 519 /*
554c0a3abf216c Hans de Goede 2017-03-29 520 * Return
554c0a3abf216c Hans de Goede 2017-03-29 521 *_SUCCESS start thread ok
554c0a3abf216c Hans de Goede 2017-03-29 522 *_FAIL start thread fail
554c0a3abf216c Hans de Goede 2017-03-29 523 *
554c0a3abf216c Hans de Goede 2017-03-29 524 */
554c0a3abf216c Hans de Goede 2017-03-29 525 s32 rtl8723bs_init_xmit_priv(struct adapter *padapter)
554c0a3abf216c Hans de Goede 2017-03-29 526 {
554c0a3abf216c Hans de Goede 2017-03-29 527 struct xmit_priv *xmitpriv = &padapter->xmitpriv;
554c0a3abf216c Hans de Goede 2017-03-29 @528 struct hal_com_data *phal;
554c0a3abf216c Hans de Goede 2017-03-29 529
554c0a3abf216c Hans de Goede 2017-03-29 530 phal = GET_HAL_DATA(padapter);
554c0a3abf216c Hans de Goede 2017-03-29 531
09a8ea34cf431b Arnd Bergmann 2018-12-10 532 init_completion(&xmitpriv->SdioXmitStart);
09a8ea34cf431b Arnd Bergmann 2018-12-10 533 init_completion(&xmitpriv->SdioXmitTerminate);
554c0a3abf216c Hans de Goede 2017-03-29 534
554c0a3abf216c Hans de Goede 2017-03-29 535 return _SUCCESS;
554c0a3abf216c Hans de Goede 2017-03-29 536 }
554c0a3abf216c Hans de Goede 2017-03-29 537
:::::: The code at line 528 was first introduced by commit
:::::: 554c0a3abf216c991c5ebddcdb2c08689ecd290b staging: Add rtl8723bs sdio wifi driver
:::::: TO: Hans de Goede <hdegoede@redhat.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-31 5:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31 5:53 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:528:30: warning: variable 'phal' set but not used kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.