Skip to content

Commit 22b65ba

Browse files
Philipp Hortmanngregkh
authored andcommitted
staging: rtl8723bs: Remove unused variable pwdev_priv
Remove unused variable pwdev_priv. Fixes: bdee203 ("staging: rtl8723bs: Remove switch(type) as type is constant") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/20240625194601.GA16828@matrix-ESPRIMO-P710 Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 9211904 commit 22b65ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2550,15 +2550,13 @@ static int cfg80211_rtw_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev,
25502550
u8 tx_ch = (u8)ieee80211_frequency_to_channel(chan->center_freq);
25512551
u8 category, action;
25522552
struct adapter *padapter;
2553-
struct rtw_wdev_priv *pwdev_priv;
25542553

25552554
if (!ndev) {
25562555
ret = -EINVAL;
25572556
goto exit;
25582557
}
25592558

25602559
padapter = rtw_netdev_priv(ndev);
2561-
pwdev_priv = adapter_wdev_data(padapter);
25622560

25632561
/* cookie generation */
25642562
*cookie = (unsigned long)buf;

0 commit comments

Comments
 (0)