staging: rtl8723bs: Remove unneeded cast
authorChristopher Diaz Riveros <chrisadr@gentoo.org>
Tue, 20 Feb 2018 16:33:54 +0000 (11:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Feb 2018 13:59:05 +0000 (14:59 +0100)
commit8b6c7a347d5655efcbea905a6d02e9f670cf365a
tree6d642d7d8ecb94e6927c759d234a7b58e1a2433c
parent5841b903371e830fb5b75dc917998277ca7d4ee6
staging: rtl8723bs: Remove unneeded cast

Fix Coccinelle alert:

drivers/staging//rtl8723bs/os_dep/sdio_intf.c:340:13-27: WARNING: casting value returned by memory allocation function to (struct adapter *) is useless.

This issue was detected by using the Coccinelle software.

Signed-off-by: Christopher Diaz Riveros <chrisadr@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/sdio_intf.c