OSDN Git Service

staging: rtl8723bs: remove null check before kfree
authorHimanshu Jha <himanshujha199640@gmail.com>
Sat, 26 Aug 2017 20:47:04 +0000 (02:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Aug 2017 17:59:10 +0000 (19:59 +0200)
commit4d506758295a897acd81fe746370303c826da1b8
tree14c3a2ce45e4d89aa479c2a472b7fde67bb4f263
parent3687994a032115e6e4f89c5715304f5361d13cfb
staging: rtl8723bs: remove null check before kfree

Kfree on NULL pointer is a no-op and therefore checking is redundant.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/ioctl_linux.c