aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/staging
diff options
context:
space:
mode:
authorIan W MORRISON <ianwmorrison@gmail.com>2017-05-08 23:40:35 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-15 12:25:12 +0200
commitca6e8cdbe1865caf7b05483e1a242e72d9bc919f (patch)
treebe3c1615b88daaffae64c7e0834b13833f02263b /drivers/staging
parentstaging: rtl8192e: GetTs Fix invalid TID 7 warning. (diff)
downloadwireguard-linux-ca6e8cdbe1865caf7b05483e1a242e72d9bc919f.tar.xz
wireguard-linux-ca6e8cdbe1865caf7b05483e1a242e72d9bc919f.zip
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 6557ddfec348 ("staging: rtl8723bs: Fix various errors in os_dep/ioctl_cfg80211.c") Signed-off-by: Ian W Morrison <ianwmorrison@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
index 5e7a61f24f8d..36c3189fc4b7 100644
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
@@ -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;