staging: rtl8712: rtl8712_cmd.c: fixed comparison to null
authorJuliana Rodrigues <juliana.orod@gmail.com>
Sun, 13 Mar 2016 18:30:57 +0000 (15:30 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit7fcf92c0a4847b0d66fbc09446561752ec2d2575
tree239294e9520f848de802b87f889a922f77d1fe0f
parent4dadfb97b73f0fbcc0c6f5a6897c0942c05a9dd3
staging: rtl8712: rtl8712_cmd.c: fixed comparison to null

This patch fixes multiple "comparison to NULL"
checkpatch.pl issues:

CHECK: Comparison to NULL could be written "!pcmd"
+               if (pcmd == NULL)

Signed-off-by: Juliana Rodrigues <juliana.orod@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl8712_cmd.c