From: Holger Schurig Date: Fri, 25 May 2007 04:09:54 +0000 (-0400) Subject: [PATCH] libertas: remove unused/superfluous definitions of DEV_NAME_LEN X-Git-Tag: firefly_0821_release~28711^2~2^2~65 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7b1d5c0b604df6cee31b2c0160ede3f1311fbb66;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: John W. Linville --- 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*/