staging: rtl8723au: Remove redundant casting in rtw_wlan_util.c
Casting value returned by k[cmz]alloc is useless. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8f17a38c61
commit
e1a35432cd
@@ -919,8 +919,7 @@ int rtw_check_bcn_info23a(struct rtw_adapter *Adapter,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bssid = (struct wlan_bssid_ex *)kzalloc(sizeof(struct wlan_bssid_ex),
|
bssid = kzalloc(sizeof(struct wlan_bssid_ex), GFP_ATOMIC);
|
||||||
GFP_ATOMIC);
|
|
||||||
if (!bssid)
|
if (!bssid)
|
||||||
return _FAIL;
|
return _FAIL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user