Browse Source

qcacld-3.0: Remove macro HTT_TX_DESC_PADDR()

Macro HTT_TX_DESC_PADDR() is unused. Furthermore, it references
tx_descs fields which do not exist. Since it couldn't possibly be
used in its current form, remove the macro.

Change-Id: I62b2d7bc3291ba6c2dc486196076827cfc22d8ec
CRs-Fixed: 2375421
Jeff Johnson 6 years ago
parent
commit
40d289ec79
1 changed files with 1 additions and 6 deletions
  1. 1 6
      core/dp/htt/htt_internal.h

+ 1 - 6
core/dp/htt/htt_internal.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2014-2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011, 2014-2019 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -430,11 +430,6 @@ static inline void htt_print_rx_desc(struct htt_host_rx_desc_base *rx_desc)
 #define HTT_TX_MUTEX_DESTROY(_mutex)			\
 	qdf_spinlock_destroy(_mutex)
 
-#define HTT_TX_DESC_PADDR(_pdev, _tx_desc_vaddr)       \
-	((_pdev)->tx_descs.pool_paddr +  (uint32_t)	  \
-	 ((char *)(_tx_desc_vaddr) -			   \
-	  (char *)((_pdev)->tx_descs.pool_vaddr)))
-
 #ifdef ATH_11AC_TXCOMPACT
 
 #define HTT_TX_NBUF_QUEUE_MUTEX_INIT(_pdev)		\