Commit 997e6674 authored by Janani Sankara Babu's avatar Janani Sankara Babu Committed by Greg Kroah-Hartman

Staging:rtl8192e Cleanup comparison to NULL

This patch replaces the comparison of var to NULL with !var
Signed-off-by: default avatarJanani Sankara Babu <jananis37@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4eff3e9d
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment