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

Use x instead of x != NULL.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sandhya Bankar 2016-03-19 16:16:38 +05:30 committed by Greg Kroah-Hartman
parent 7f69e09aba
commit 79146cedc3

View file

@ -181,7 +181,7 @@ s32 rtw_hal_mgnt_xmit(struct adapter *adapt, struct xmit_frame *pmgntframe)
s32 rtw_hal_init_xmit_priv(struct adapter *adapt) s32 rtw_hal_init_xmit_priv(struct adapter *adapt)
{ {
if (adapt->HalFunc.init_xmit_priv != NULL) if (adapt->HalFunc.init_xmit_priv)
return adapt->HalFunc.init_xmit_priv(adapt); return adapt->HalFunc.init_xmit_priv(adapt);
return _FAIL; return _FAIL;
} }