Commit 4fd9fa2e authored by Jeff Garzik's avatar Jeff Garzik

Update wireless net drivers wavelan and wavelan_cs to directly

use spin_[un]lock_irq{save,restore}, instead of defining static
inline functions to do the same thing (but possibly in a non-portable
way).
parent a5220ff4
This diff is collapsed.
...@@ -521,12 +521,6 @@ struct net_local ...@@ -521,12 +521,6 @@ struct net_local
/**************************** PROTOTYPES ****************************/ /**************************** PROTOTYPES ****************************/
/* ----------------------- MISC. SUBROUTINES ------------------------ */ /* ----------------------- MISC. SUBROUTINES ------------------------ */
static inline void
wv_splhi(net_local *, /* Disable interrupts, lock driver */
unsigned long *); /* flags */
static inline void
wv_splx(net_local *, /* Enable interrupts, unlock driver */
unsigned long *); /* flags */
static u_char static u_char
wv_irq_to_psa(int); wv_irq_to_psa(int);
static int static int
......
This diff is collapsed.
...@@ -680,12 +680,6 @@ void wv_roam_cleanup(struct net_device *dev); ...@@ -680,12 +680,6 @@ void wv_roam_cleanup(struct net_device *dev);
#endif /* WAVELAN_ROAMING */ #endif /* WAVELAN_ROAMING */
/* ----------------------- MISC SUBROUTINES ------------------------ */ /* ----------------------- MISC SUBROUTINES ------------------------ */
static inline void
wv_splhi(net_local *, /* Disable interrupts */
unsigned long *); /* flags */
static inline void
wv_splx(net_local *, /* ReEnable interrupts */
unsigned long *); /* flags */
static void static void
cs_error(client_handle_t, /* Report error to cardmgr */ cs_error(client_handle_t, /* Report error to cardmgr */
int, int,
......
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