summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-05-25 00:09:54 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:36 -0400
commit7b1d5c0b604df6cee31b2c0160ede3f1311fbb66 (patch)
tree05b52a52d708b6ad4051c91d80ca3fcba816cf2c
parent42fff92aa53fd5903f318e16fbbcc9176403562c (diff)
downloadlinux-stable-7b1d5c0b604df6cee31b2c0160ede3f1311fbb66.tar.gz
linux-stable-7b1d5c0b604df6cee31b2c0160ede3f1311fbb66.tar.bz2
linux-stable-7b1d5c0b604df6cee31b2c0160ede3f1311fbb66.zip
[PATCH] libertas: remove unused/superfluous definitions of DEV_NAME_LEN
DEV_NAME_LEN is already defined in defs.h and that is sufficient. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/libertas/fw.h4
-rw-r--r--drivers/net/wireless/libertas/sbi.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/libertas/fw.h b/drivers/net/wireless/libertas/fw.h
index 1f9ae267a9e0..e5a6a2b076e3 100644
--- a/drivers/net/wireless/libertas/fw.h
+++ b/drivers/net/wireless/libertas/fw.h
@@ -4,10 +4,6 @@
#ifndef _WLAN_FW_H_
#define _WLAN_FW_H_
-#ifndef DEV_NAME_LEN
-#define DEV_NAME_LEN 32
-#endif
-
int libertas_init_fw(wlan_private * priv);
#endif /* _WLAN_FW_H_ */
diff --git a/drivers/net/wireless/libertas/sbi.h b/drivers/net/wireless/libertas/sbi.h
index 5dda74b6fb96..c8fe5d05eb76 100644
--- a/drivers/net/wireless/libertas/sbi.h
+++ b/drivers/net/wireless/libertas/sbi.h
@@ -14,10 +14,6 @@
#define his_cardevent 0x02
#define his_cmdupldrdy 0x04
-#ifndef DEV_NAME_LEN
-#define DEV_NAME_LEN 32
-#endif
-
#define SBI_EVENT_CAUSE_SHIFT 3
/* Probe and Check if the card is present*/