diff options
Diffstat (limited to 'drivers/dahdi/dahdi_dynamic.c')
-rw-r--r-- | drivers/dahdi/dahdi_dynamic.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/dahdi/dahdi_dynamic.c b/drivers/dahdi/dahdi_dynamic.c index 31a6c30..f0b61ff 100644 --- a/drivers/dahdi/dahdi_dynamic.c +++ b/drivers/dahdi/dahdi_dynamic.c @@ -113,13 +113,8 @@ struct dahdi_dynamic { struct list_head list; }; -#ifdef DEFINE_SPINLOCK static DEFINE_SPINLOCK(dspan_lock); static DEFINE_SPINLOCK(driver_lock); -#else -static spinlock_t dspan_lock = SPIN_LOCK_UNLOCKED; -static spinlock_t driver_lock = SPIN_LOCK_UNLOCKED; -#endif static LIST_HEAD(dspan_list); static LIST_HEAD(driver_list); |