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:
parent
4eff3e9d97
commit
997e667414
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue