From: Jes Sorensen Date: Mon, 9 Jun 2014 13:16:33 +0000 (+0200) Subject: staging: rtl8723au: rtw_stadel_event_callback23a(): Remove superfluous memset() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1ae17bf1690d6781d260db96952b8a937a204570;p=linux-beck.git staging: rtl8723au: rtw_stadel_event_callback23a(): Remove superfluous memset() Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging/rtl8723au/core/rtw_mlme.c index 7c99c37f3df7..bcc6893577c4 100644 --- a/drivers/staging/rtl8723au/core/rtw_mlme.c +++ b/drivers/staging/rtl8723au/core/rtw_mlme.c @@ -1506,8 +1506,6 @@ void rtw_stadel_event_callback23a(struct rtw_adapter *adapter, const u8 *pbuf) memcpy(pdev_network, &tgt_network->network, get_wlan_bssid_ex_sz(&tgt_network->network)); - memset(&pdev_network->Ssid, 0, - sizeof(struct cfg80211_ssid)); memcpy(&pdev_network->Ssid, &pmlmepriv->assoc_ssid, sizeof(struct cfg80211_ssid));