Search Linux Wireless

[PATCH 08/15] initvals: remove unused variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch fixes the following warning
(with CFLAGS=-Wunused):

initvals.c: In function ‘ath9k_hw_print_initval’:
initvals.c:315: warning: unused variable ‘chksum’

Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx>
---
 initvals.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/initvals.c b/initvals.c
index c9235d2..a12573a 100644
--- a/initvals.c
+++ b/initvals.c
@@ -312,7 +312,7 @@ static u32 ath9k_patch_initval(u32 idx, u32 val)
 
 static void ath9k_hw_print_initval(const u32 *array, u32 rows, u32 columns, bool onedim)
 {
-	u32 chksum, col, row;
+	u32 col, row;
 
 	/*
 	 * This checksum stuff is designed for columns <= 8),
-- 
1.7.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux