Commit 8d45ff7d authored by Jiri Benc's avatar Jiri Benc Committed by Jeff Garzik

ipw2200: minor cleanups

This removes one trap for a programmer, few unused macros, and one
unused struct.
Signed-off-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarJiri Benc <jbenc@suse.cz>
parent 771abed9
...@@ -4485,7 +4485,7 @@ static void ipw_debug_config(struct ipw_priv *priv) ...@@ -4485,7 +4485,7 @@ static void ipw_debug_config(struct ipw_priv *priv)
IPW_DEBUG_INFO("RATE MASK: 0x%08X\n", priv->rates_mask); IPW_DEBUG_INFO("RATE MASK: 0x%08X\n", priv->rates_mask);
} }
#else #else
#define ipw_debug_config(x) do {} while (0); #define ipw_debug_config(x) do {} while (0)
#endif #endif
static inline void ipw_set_fixed_rate(struct ipw_priv *priv, static inline void ipw_set_fixed_rate(struct ipw_priv *priv,
......
...@@ -73,8 +73,6 @@ enum connection_manager_assoc_states ...@@ -73,8 +73,6 @@ enum connection_manager_assoc_states
}; };
#define IPW_NORMAL 0
#define IPW_NOWAIT 0
#define IPW_WAIT (1<<0) #define IPW_WAIT (1<<0)
#define IPW_QUIET (1<<1) #define IPW_QUIET (1<<1)
#define IPW_ROAMING (1<<2) #define IPW_ROAMING (1<<2)
...@@ -180,7 +178,7 @@ enum connection_manager_assoc_states ...@@ -180,7 +178,7 @@ enum connection_manager_assoc_states
/* even if MAC WEP set (allows pre-encrypt) */ /* even if MAC WEP set (allows pre-encrypt) */
#define DCT_FLAG_NO_WEP 0x20 #define DCT_FLAG_NO_WEP 0x20
#define IPW_
/* overwrite TSF field */ /* overwrite TSF field */
#define DCT_FLAG_TSF_REQD 0x40 #define DCT_FLAG_TSF_REQD 0x40
...@@ -513,12 +511,6 @@ struct notif_authenticate { ...@@ -513,12 +511,6 @@ struct notif_authenticate {
u16 status; u16 status;
} __attribute__ ((packed)); } __attribute__ ((packed));
struct temperature
{
s32 measured;
s32 active;
} __attribute__ ((packed));
struct notif_calibration { struct notif_calibration {
u8 data[104]; u8 data[104];
} __attribute__ ((packed)); } __attribute__ ((packed));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment