Browse Source

qcacmn: remove unused var in dp/wifi3.0/dp_tx.c

remove unused var and declarations in  dp/wifi3.0/dp_tx.c

CRs-Fixed: 3284798
Change-Id: If4f9b46196a254dd51ae1dcf7e9aa45f1265851d
Mukul Dhiman 2 years ago
parent
commit
30f8589d11
1 changed files with 0 additions and 4 deletions
  1. 0 4
      dp/wifi3.0/dp_tx.c

+ 0 - 4
dp/wifi3.0/dp_tx.c

@@ -3301,7 +3301,6 @@ dp_tx_send_exception(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
 		     struct cdp_tx_exception_metadata *tx_exc_metadata)
 {
 	struct dp_soc *soc = cdp_soc_t_to_dp_soc(soc_hdl);
-	qdf_ether_header_t *eh = NULL;
 	struct dp_tx_msdu_info_s msdu_info;
 	struct dp_vdev *vdev = dp_vdev_get_ref_by_id(soc, vdev_id,
 						     DP_MOD_ID_TX_EXCEPTION);
@@ -3315,7 +3314,6 @@ dp_tx_send_exception(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
 		goto fail;
 
 	msdu_info.tid = tx_exc_metadata->tid;
-	eh = (qdf_ether_header_t *)qdf_nbuf_data(nbuf);
 	dp_verbose_debug("skb "QDF_MAC_ADDR_FMT,
 			 QDF_MAC_ADDR_REF(nbuf->data));
 
@@ -6701,11 +6699,9 @@ QDF_STATUS dp_tso_soc_attach(struct cdp_soc_t *txrx_soc)
 {
 	struct dp_soc *soc = (struct dp_soc *)txrx_soc;
 	uint8_t num_pool;
-	uint32_t num_desc;
 	uint32_t num_ext_desc;
 
 	num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
-	num_desc = wlan_cfg_get_num_tx_desc(soc->wlan_cfg_ctx);
 	num_ext_desc = wlan_cfg_get_num_tx_ext_desc(soc->wlan_cfg_ctx);
 
 	if (dp_tx_tso_cmn_desc_pool_alloc(soc, num_pool, num_ext_desc))