summaryrefslogtreecommitdiff
path: root/drivers/dahdi/tor2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/tor2.c')
-rw-r--r--drivers/dahdi/tor2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/dahdi/tor2.c b/drivers/dahdi/tor2.c
index 5b1dcf7..f30f9f7 100644
--- a/drivers/dahdi/tor2.c
+++ b/drivers/dahdi/tor2.c
@@ -1129,11 +1129,7 @@ static void tor2_tasklet(unsigned long data)
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 int tor2_findsync(struct tor2 *tor)
{