]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8712: rtl871x_cmd.c: Remove unnecessary null check
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Thu, 20 Jun 2019 11:52:57 +0000 (17:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2019 12:47:28 +0000 (14:47 +0200)
commit97a738d30cb17a327874d8f594d59c69d33c5c37
treefc781d41bd9948d30e1d9873d944dd24726fd9d2
parentfbcfbf653636a4afe1ac5d477b755c327c2d2a10
staging: rtl8712: rtl871x_cmd.c: Remove unnecessary null check

Remove the check for whether the value of variable psecnetwork is NULL
as psecnetwork is a field of a field of a non-NULL pointer, and
therefore cannot be NULL itself.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_cmd.c