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

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

Staging: rtl8188eu: usb_halinit: Use !x instead of x == NULL.



Use !x instead of x == NULL.

Signed-off-by: default avatarSandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eec1c500
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2078,7 +2078,7 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)


	adapt->HalData = kzalloc(sizeof(struct hal_data_8188e), GFP_KERNEL);
	if (adapt->HalData == NULL)
	if (!adapt->HalData)
		DBG_88E("cant not alloc memory for HAL DATA\n");

	halfunc->hal_power_on = rtl8188eu_InitPowerOn;