staging: rtl8723au: Remove unused pointer in rtw_wdev_free()
Pointer 'pwdev_priv' in function rtw_wdev_free() is unused - thus remove it. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1b3b9af100
commit
0cc6c3ab3c
|
@ -3560,15 +3560,11 @@ exit:
|
|||
|
||||
void rtw_wdev_free(struct wireless_dev *wdev)
|
||||
{
|
||||
struct rtw_wdev_priv *pwdev_priv;
|
||||
|
||||
DBG_8723A("%s(wdev =%p)\n", __func__, wdev);
|
||||
|
||||
if (!wdev)
|
||||
return;
|
||||
|
||||
pwdev_priv = wdev_to_priv(wdev);
|
||||
|
||||
kfree(wdev->wiphy->bands[IEEE80211_BAND_2GHZ]);
|
||||
kfree(wdev->wiphy->bands[IEEE80211_BAND_5GHZ]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue