Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca6e8cdb authored by Ian W MORRISON's avatar Ian W MORRISON Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723bs: remove re-positioned call to kfree in os_dep/ioctl_cfg80211.c



A re-positioned call to kfree() in
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
causes a segmentation error. This patch removed the kfree() call.

Fixes 6557ddfe ("staging: rtl8723bs: Fix various errors in os_dep/ioctl_cfg80211.c")
Signed-off-by: default avatarIan W Morrison <ianwmorrison@gmail.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 95d93e27
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3531,7 +3531,6 @@ int rtw_wdev_alloc(struct adapter *padapter, struct device *dev)
		pwdev_priv->power_mgmt = true;
	else
		pwdev_priv->power_mgmt = false;
	kfree((u8 *)wdev);

	return ret;