2017-06-06 23:20:47

by Seraphime Kirkovski

[permalink] [raw]
Subject: [PATCH] net: wireless: intel: iwlwifi: dvm: remove unused defines

Those constants have been unused for quite some time now.

Signed-off-by: Seraphime Kirkovski <[email protected]>
---
I've compile-tested it.

drivers/net/wireless/intel/iwlwifi/dvm/commands.h | 7 -------
1 file changed, 7 deletions(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/commands.h b/drivers/net/wireless/intel/iwlwifi/dvm/commands.h
index 2ab2773655a8..37d2ba5ae852 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/commands.h
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/commands.h
@@ -1446,13 +1446,6 @@ struct agg_tx_status {
* or rate table color was changed during frame retries
* refer tlc rate info
*/
-
-#define IWL50_TX_RES_INIT_RATE_INDEX_POS 0
-#define IWL50_TX_RES_INIT_RATE_INDEX_MSK 0x0f
-#define IWL50_TX_RES_RATE_TABLE_COLOR_POS 4
-#define IWL50_TX_RES_RATE_TABLE_COLOR_MSK 0x70
-#define IWL50_TX_RES_INV_RATE_INDEX_MSK 0x80
-
/* refer to ra_tid */
#define IWLAGN_TX_RES_TID_POS 0
#define IWLAGN_TX_RES_TID_MSK 0x0f
--
2.11.0


2017-06-07 06:38:26

by Luca Coelho

[permalink] [raw]
Subject: Re: [PATCH] net: wireless: intel: iwlwifi: dvm: remove unused defines

On Wed, 2017-06-07 at 01:20 +0200, Seraphime Kirkovski wrote:
> Those constants have been unused for quite some time now.
>
> Signed-off-by: Seraphime Kirkovski <[email protected]>
> ---
> I've compile-tested it.

Thanks. I've applied it to our internal tree and it will reach the
mainline at some point.

--
Cheers,
Luca.