qcacld-3.0: Remove any reference to net_device->last_rx

net_device->last_rx has long since been depreciated, and was finally
removed in Linux kernel 4.11. Simply remove any reference to the field.

Change-Id: Ia7896707f8ebc7105fcc4b89dd9d1e7f9334d584
CRs-Fixed: 2093262
This commit is contained in:
Dustin Brown 2017-08-15 14:00:34 -07:00 • committed by Anjaneedevi Kapparapu
commit 9deab4e137
4 changed files with 0 additions and 9 deletions

View file

@ -3777,7 +3777,6 @@ static void hdd_ipa_send_skb_to_network(qdf_nbuf_t skb,
++adapter->hdd_stats.hddTxRxStats.rxRefused[cpu_index];
HDD_IPA_INCREASE_NET_SEND_COUNT(hdd_ipa);
adapter->dev->last_rx = jiffies;
}
/**

View file

@ -101,8 +101,6 @@ void hdd_rx_monitor_callback(ol_osif_vdev_handle context,
skb = skb_next;
}
adapter->dev->last_rx = jiffies;
return;
}

View file

@ -782,8 +782,6 @@ QDF_STATUS hdd_softap_rx_packet_cbk(void *context, qdf_nbuf_t rxBuf)
++pAdapter->hdd_stats.hddTxRxStats.rxDelivered[cpu_index];
else
++pAdapter->hdd_stats.hddTxRxStats.rxRefused[cpu_index];
pAdapter->dev->last_rx = jiffies;
}
return QDF_STATUS_SUCCESS;

View file

@ -1023,8 +1023,6 @@ static QDF_STATUS hdd_mon_rx_packet_cbk(void *context, qdf_nbuf_t rxbuf)
skb = skb_next;
}
adapter->dev->last_rx = jiffies;
return QDF_STATUS_SUCCESS;
}
@ -1288,8 +1286,6 @@ QDF_STATUS hdd_rx_packet_cbk(void *context, qdf_nbuf_t rxBuf)
++pAdapter->hdd_stats.hddTxRxStats.
rxDelivered[cpu_index];
}
pAdapter->dev->last_rx = jiffies;
}
return QDF_STATUS_SUCCESS;