Staging: rtl8188eu: ioctl_linux: Clean up if function returned NULL on failure.
authorAmit Ghadge <amitg.b14@gmail.com>
Sun, 4 Sep 2016 17:23:35 +0000 (22:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 10:29:27 +0000 (12:29 +0200)
commit4fe514dc2049b06e3cd2851513202b518ee6ee6d
tree73bd411fa898b4ff19eaec1e4931d9e54a0f087f
parentec65ef8e8aa15126970a85348359a43a4c5c301a
Staging: rtl8188eu: ioctl_linux: Clean up if function returned NULL on failure.

Clean some all functions to return NULL on failure.
Used !x instead of x==NULL.

Signed-off-by: Amit Ghadge <amitg.b14@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c