mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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:
parent
7f69e09aba
commit
79146cedc3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue