Staging: rtl8723bs: core: Remove typecast in kfree
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Mon, 1 Apr 2019 22:26:21 +0000 (17:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Apr 2019 05:57:44 +0000 (07:57 +0200)
commit8f24f505fc2a151ff8bf67fcf11e4c7c6bfcbf49
tree34630d35d5a0e6dc9c6b3970d2655225bdb2469f
parentb7987debe3563355050c3b9ce8ecef7cac988f34
Staging: rtl8723bs: core: Remove typecast in kfree

Remove typecast in kfree, as per definition of kfree in
include/linux/slab.h#L144, the parameter type of kfree is void*, and
hence C compiler casts any pointer type to void*.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c