Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1413503 > unrolled thread
| Started by | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| First post | 2016-06-03 23:40 +0200 |
| Last post | 2016-06-06 10:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] iwlwifi: Remove unused array 'iwlagn_loose_lookup' Guenter Roeck <linux@roeck-us.net> - 2016-06-03 23:40 +0200
Re: [PATCH] iwlwifi: Remove unused array 'iwlagn_loose_lookup' Luca Coelho <luca@coelho.fi> - 2016-06-06 10:00 +0200
| From | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| Date | 2016-06-03 23:40 +0200 |
| Subject | [PATCH] iwlwifi: Remove unused array 'iwlagn_loose_lookup' |
| Message-ID | <rG4YW-8vw-11@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Luca Coelho <luca@coelho.fi> |
|---|---|
| Date | 2016-06-06 10:00 +0200 |
| Message-ID | <rGXC1-1Xz-9@gated-at.bofh.it> |
| In reply to | #1413503 |
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). -- Cheers, Luca.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web