Staging:rtl8192e Cleanup comparison to NULL

This patch replaces the comparison of var to NULL with !var

Signed-off-by: Janani Sankara Babu <jananis37@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Janani Sankara Babu 2018-06-18 12:05:45 -04:00 committed by Greg Kroah-Hartman
parent 4eff3e9d97
commit 997e667414
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst,
netdev_dbg(ieee->dev, "%s(): frame(%d) sentd to: %pM, ieee->dev:%p\n",
__func__, type, Dst, ieee->dev);
if (pBA == NULL) {
if (!pBA) {
netdev_warn(ieee->dev, "pBA is NULL\n");
return NULL;
}