From 40d289ec7990e79bed288b72e8aec1fe9e9e2711 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 28 Dec 2018 23:20:16 -0800 Subject: [PATCH] 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 --- core/dp/htt/htt_internal.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/dp/htt/htt_internal.h b/core/dp/htt/htt_internal.h index bff7efdc667a..b0f6da388cc0 100644 --- a/core/dp/htt/htt_internal.h +++ b/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) \