mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nikolay Kulikov <nikolayof23@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:528:30: warning: variable 'phal' set but not used
Date: Mon, 31 Aug 2026 07:53:23 +0200	[thread overview]
Message-ID: <202608310749.mheatdIW-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-08-31  5:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202608310749.mheatdIW-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nikolayof23@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®