]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: remove re-positioned call to kfree in os_dep/ioctl_cfg80211.c
authorIan W MORRISON <ianwmorrison@gmail.com>
Mon, 8 May 2017 13:40:35 +0000 (23:40 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 10:25:12 +0000 (12:25 +0200)
commit0f20c003f95f7cd1ffa1ad466cf97d26634325f4
treebe3c1615b88daaffae64c7e0834b13833f02263b
parentf47c84fee05f88c16bb37baa86bd2878ac8d02bb
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 335f629b5771 ("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>
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c