summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wct4xxp/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/wct4xxp/base.c')
-rw-r--r--drivers/dahdi/wct4xxp/base.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index 72858c3..81ef89e 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -2231,11 +2231,7 @@ static void t4_serial_setup(struct t4 *wc, int unit)
static int syncsrc = 0;
static int syncnum = 0 /* -1 */;
static int syncspan = 0;
-#ifdef DEFINE_SPINLOCK
static DEFINE_SPINLOCK(synclock);
-#else
-static spinlock_t synclock = SPIN_LOCK_UNLOCKED;
-#endif
static void __t4_set_rclk_src(struct t4 *wc, int span)
{