Staging: rtl8712: rtl8712_efuse: Use !x instead of x == NULL.

Use !x instead of x == NULL. This patch was found by checkpatch.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sandhya Bankar 2016-09-20 14:31:50 +05:30 committed by Greg Kroah-Hartman
parent 8e9253b777
commit c43fcdd443
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ u8 r8712_efuse_pg_packet_read(struct _adapter *padapter, u8 offset, u8 *data)
u8 tmpdata[PGPKT_DATA_SIZE];
u8 ret = true;
if (data == NULL)
if (!data)
return false;
if (offset > 0x0f)
return false;