소스 검색

qcacld-3.0: Remove excessive logging in hdd_rx_deliver_to_stack

Remove the excess error log in hdd_rx_deliver_to_stack. The hdd
rx/tx stats are incremented in caller for success and failed
cases for delivering the skb to network stack. This error log
is redundtant as stats for rx packets refused is incremented
when packets are dropped by the network stack.

Change-Id: I5a774db18966f9b43721278daef936de7524d6f7
CRs-Fixed: 2633475
Nisha Menon 5 년 전
부모
커밋
c8626b3f18
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      core/hdd/src/wlan_hdd_tx_rx.c

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

@@ -1985,9 +1985,6 @@ QDF_STATUS hdd_rx_deliver_to_stack(struct hdd_adapter *adapter,
 		       hdd_ctx->enable_rxthread)) {
 		local_bh_disable();
 		netif_status = netif_receive_skb(skb);
-		if (netif_status)
-			hdd_err("netif_receive_skb return dropped skb %pk",
-				skb);
 		local_bh_enable();
 	} else if (qdf_unlikely(QDF_NBUF_CB_RX_PEER_CACHED_FRM(skb))) {
 		/*