staging: rtl8723au: rtw_cfg80211_inform_bss(): timestamp isn't used
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 19 Jun 2014 09:37:16 +0000 (11:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 20:08:50 +0000 (13:08 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c

index 9ad049c..f102e03 100644 (file)
@@ -249,7 +249,6 @@ static int rtw_cfg80211_inform_bss(struct rtw_adapter *padapter,
        /* struct ieee80211_supported_band *band; */
        u16 channel;
        u32 freq;
-       u64 notify_timestamp;
        u16 notify_capability;
        u16 notify_interval;
        u8 *notify_ie;
@@ -280,8 +279,6 @@ static int rtw_cfg80211_inform_bss(struct rtw_adapter *padapter,
 
        notify_channel = ieee80211_get_channel(wiphy, freq);
 
-       notify_timestamp = jiffies_to_msecs(jiffies) * 1000;    /* uSec */
-
        notify_interval =
                get_unaligned_le16(
                        rtw_get_beacon_interval23a_from_ie(pnetwork->network.IEs));