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

Commit e1a35432 authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723au: Remove redundant casting in rtw_wlan_util.c



Casting value returned by k[cmz]alloc is useless.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8f17a38c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -919,8 +919,7 @@ int rtw_check_bcn_info23a(struct rtw_adapter *Adapter,
		return true;
	}

	bssid = (struct wlan_bssid_ex *)kzalloc(sizeof(struct wlan_bssid_ex),
						GFP_ATOMIC);
	bssid = kzalloc(sizeof(struct wlan_bssid_ex), GFP_ATOMIC);
	if (!bssid)
		return _FAIL;