Skip to contentSkip to conversation

ipw2200: remove trap and unused stuff

PATCH New Pavel Machek 1 participant 1 message Aug 25, 2005 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipw2200: remove trap and unused stuff

This removes one trap for a programmer, few unused macros, and one unused struct. Please apply,

drivers/net/wireless/ipw2200.c +1 -1
@@ -4485,7 +4485,7 @@
 	IPW_DEBUG_INFO("RATE MASK: 0x%08X\n", priv->rates_mask);
 }
 #else
-#define ipw_debug_config(x) do {} while (0);
+#define ipw_debug_config(x) do {} while (0)
 #endif
 
 static inline void ipw_set_fixed_rate(struct ipw_priv *priv,
drivers/net/wireless/ipw2200.h +1 -9
@@ -95,8 +75,6 @@
 };
 
 
-#define IPW_NORMAL                   0
-#define IPW_NOWAIT                   0
 #define IPW_WAIT                     (1<<0)
 #define IPW_QUIET                    (1<<1)
 #define IPW_ROAMING                  (1<<2)
@@ -202,7 +180,7 @@
 
 /* even if MAC WEP set (allows pre-encrypt) */
 #define DCT_FLAG_NO_WEP              0x20
-#define IPW_
+
 /* overwrite TSF field */
 #define DCT_FLAG_TSF_REQD                  0x40
 
@@ -535,12 +513,6 @@
 	u16 status;
 } __attribute__ ((packed));
 
-struct temperature
-{
-	s32 measured;
-	s32 active;
-} __attribute__ ((packed));
-
 struct notif_calibration {
 	u8 data[104];
 } __attribute__ ((packed));
Signature · 1 line
if you have sharp zaurus hardware you don't need... you know my address