staging: rtl8723au: rtw_stadel_event_callback23a(): Remove superfluous memset()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 9 Jun 2014 13:16:33 +0000 (15:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 21:00:20 +0000 (14:00 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme.c

index 7c99c37f3df7dff405d025aec20bcead12a5d5d1..bcc6893577c47a5ea19b378a80a69513bfd48a78 100644 (file)
@@ -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));