lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 24 Nov 2008 15:37:42 +0100
From:	"Miguel Ángel Álvarez" <gotzoncabanes@...il.com>
To:	netdev@...r.kernel.org, "Krzysztof Halasa" <khc@...waw.pl>
Subject: [PATCH 1/1] ixp4xx_hss: Non-used lut variable

Hi.

Taking a look to ixp4xx_hss code, I have found a non-used variable in
hss_config_set_lut. I suppose it is part of a deprecated code. This
patch removes it.

Signed-off-by: Miguel Ángel Álvarez (gotzoncabanes@...il.com)
---
diff -urN linux-2.6.26.7_hssorig/drivers/net/wan/ixp4xx_hss.c
linux-2.6.26.7_hsspatched/drivers/net/wan/ixp4xx_hss.c
--- linux-2.6.26.7_hssorig/drivers/net/wan/ixp4xx_hss.c	2008-11-24
15:29:27.000000000 +0100
+++ linux-2.6.26.7_hsspatched/drivers/net/wan/ixp4xx_hss.c	2008-11-24
15:33:55.000000000 +0100
@@ -521,9 +521,7 @@
 {
 	struct msg msg;
 	int chan_count = 0, log_chan = 0, i, ch;
-	u32 lut[MAX_CHANNELS / 4];
-
-	memset(lut, 0, sizeof(lut));
+	
 	for (i = 0; i < MAX_CHAN_DEVICES; i++)
 		if (port->chan_devices[i])
 			port->chan_devices[i]->chan_count = 0;

Thanks

Miguel Ángel Álvarez
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ