* [PATCH] iwlwifi: Remove unused array 'iwlagn_loose_lookup'
@ 2016-06-03 21:39 Guenter Roeck
2016-06-06 7:54 ` Luca Coelho
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2016-06-03 21:39 UTC (permalink / raw)
To: Johannes Berg
Cc: linuxwifi, Kalle Valo, linux-wireless, netdev, linux-kernel,
Guenter Roeck
gcc-6 reports the following error if -Werror=unused-const-variable
is enabled.
drivers/net/wireless/intel/iwlwifi/dvm/lib.c:210:21: error:
'iwlagn_loose_lookup' defined but not used
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
drivers/net/wireless/intel/iwlwifi/dvm/lib.c | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/lib.c b/drivers/net/wireless/intel/iwlwifi/dvm/lib.c
index 8dda52ae3bb5..6c2d6da7eec6 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/lib.c
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/lib.c
@@ -205,23 +205,6 @@ static const __le32 iwlagn_def_3w_lookup[IWLAGN_BT_DECISION_LUT_SIZE] = {
cpu_to_le32(0xf0005000),
};
-
-/* Loose Coex */
-static const __le32 iwlagn_loose_lookup[IWLAGN_BT_DECISION_LUT_SIZE] = {
- cpu_to_le32(0xaaaaaaaa),
- cpu_to_le32(0xaaaaaaaa),
- cpu_to_le32(0xaeaaaaaa),
- cpu_to_le32(0xaaaaaaaa),
- cpu_to_le32(0xcc00ff28),
- cpu_to_le32(0x0000aaaa),
- cpu_to_le32(0xcc00aaaa),
- cpu_to_le32(0x0000aaaa),
- cpu_to_le32(0x00000000),
- cpu_to_le32(0x00000000),
- cpu_to_le32(0xf0005000),
- cpu_to_le32(0xf0005000),
-};
-
/* Full concurrency */
static const __le32 iwlagn_concurrent_lookup[IWLAGN_BT_DECISION_LUT_SIZE] = {
cpu_to_le32(0xaaaaaaaa),
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iwlwifi: Remove unused array 'iwlagn_loose_lookup'
2016-06-03 21:39 [PATCH] iwlwifi: Remove unused array 'iwlagn_loose_lookup' Guenter Roeck
@ 2016-06-06 7:54 ` Luca Coelho
0 siblings, 0 replies; 2+ messages in thread
From: Luca Coelho @ 2016-06-06 7:54 UTC (permalink / raw)
To: Guenter Roeck, Johannes Berg
Cc: linuxwifi, Kalle Valo, linux-wireless, netdev, linux-kernel
On Fri, 2016-06-03 at 14:39 -0700, Guenter Roeck wrote:
> gcc-6 reports the following error if -Werror=unused-const-variable
> is enabled.
>
> drivers/net/wireless/intel/iwlwifi/dvm/lib.c:210:21: error:
> 'iwlagn_loose_lookup' defined but not used
>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
Thanks! I'm queuing this via our internal trees (adding "dvm: " to the
subject, to indicate this is related to the dvm module).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-06 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-03 21:39 [PATCH] iwlwifi: Remove unused array 'iwlagn_loose_lookup' Guenter Roeck
2016-06-06 7:54 ` Luca Coelho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).