[PATCH] libertas: remove unused/superfluous definitions of DEV_NAME_LEN
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 25 May 2007 04:09:54 +0000 (00:09 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:36 +0000 (14:28 -0400)
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>
drivers/net/wireless/libertas/fw.h
drivers/net/wireless/libertas/sbi.h

index 1f9ae267a9e0f8f8d85f42fad67ad48a33531b40..e5a6a2b076e32c866de83811ecd03dc71343975c 100644 (file)
@@ -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_ */
index 5dda74b6fb969748f55010398f2e5e3bcb76955c..c8fe5d05eb76ab9b6eb9f880c0aebe6f322e47cb 100644 (file)
 #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*/