浏览代码

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
Dustin Brown 7 年之前
父节点
当前提交
9deab4e137

+ 0 - 1
core/hdd/src/wlan_hdd_ipa.c

@@ -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;
 }
 
 /**

+ 0 - 2
core/hdd/src/wlan_hdd_rx_monitor.c

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

+ 0 - 2
core/hdd/src/wlan_hdd_softap_tx_rx.c

@@ -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;

+ 0 - 4
core/hdd/src/wlan_hdd_tx_rx.c

@@ -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;