]> git.baikalelectronics.ru Git - kernel.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)
commitd8010b58dc2c7d3254c8e59864a69743ecdf109b
treefc781d41bd9948d30e1d9873d944dd24726fd9d2
parent9197a005558450c45c6f63f588dc87974854ffe5
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