Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6869a11b authored by Sandhya Bankar's avatar Sandhya Bankar Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192e: Use !x instead of x == NULL



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

Signed-off-by: default avatarSandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 56487aed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ struct net_device *alloc_rtllib(int sizeof_priv)
	rtllib_softmac_init(ieee);

	ieee->pHTInfo = kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL);
	if (ieee->pHTInfo == NULL)
	if (!ieee->pHTInfo)
		return NULL;

	HTUpdateDefaultSetting(ieee);