staging: rtl8723au: rtw_surveydone_event_callback23a(): Remove superfluous memset()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 9 Jun 2014 13:16:52 +0000 (15:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 21:03:49 +0000 (14:03 -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 4a146fbc86ca191d6a7ccf19cd747bfefd3feb97..77a0a4aa2bbd5efffb4d2f5fe7b5a296155a5b4f 100644 (file)
@@ -751,8 +751,6 @@ rtw_surveydone_event_callback23a(struct rtw_adapter *adapter, const u8 *pbuf)
                                                 ("switching to adhoc "
                                                  "master\n"));
 
-                                       memset(&pdev_network->Ssid, 0,
-                                              sizeof(struct cfg80211_ssid));
                                        memcpy(&pdev_network->Ssid,
                                               &pmlmepriv->assoc_ssid,
                                               sizeof(struct cfg80211_ssid));