diff options
Diffstat (limited to 'drivers/atm/nicstar.h')
-rw-r--r-- | drivers/atm/nicstar.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/atm/nicstar.h b/drivers/atm/nicstar.h index 5997bcb45b59..6010e3daa6a2 100644 --- a/drivers/atm/nicstar.h +++ b/drivers/atm/nicstar.h | |||
@@ -28,8 +28,6 @@ | |||
28 | 28 | ||
29 | /* Options ********************************************************************/ | 29 | /* Options ********************************************************************/ |
30 | 30 | ||
31 | #undef NS_DEBUG_SPINLOCKS | ||
32 | |||
33 | #define NS_MAX_CARDS 4 /* Maximum number of NICStAR based cards | 31 | #define NS_MAX_CARDS 4 /* Maximum number of NICStAR based cards |
34 | controlled by the device driver. Must | 32 | controlled by the device driver. Must |
35 | be <= 5 */ | 33 | be <= 5 */ |
@@ -721,10 +719,6 @@ typedef struct scq_info | |||
721 | wait_queue_head_t scqfull_waitq; | 719 | wait_queue_head_t scqfull_waitq; |
722 | volatile char full; /* SCQ full indicator */ | 720 | volatile char full; /* SCQ full indicator */ |
723 | spinlock_t lock; /* SCQ spinlock */ | 721 | spinlock_t lock; /* SCQ spinlock */ |
724 | #ifdef NS_DEBUG_SPINLOCKS | ||
725 | volatile long has_lock; | ||
726 | volatile int cpu_lock; | ||
727 | #endif /* NS_DEBUG_SPINLOCKS */ | ||
728 | } scq_info; | 722 | } scq_info; |
729 | 723 | ||
730 | 724 | ||
@@ -810,12 +804,6 @@ typedef struct ns_dev | |||
810 | unsigned intcnt; /* Interrupt counter */ | 804 | unsigned intcnt; /* Interrupt counter */ |
811 | spinlock_t int_lock; /* Interrupt lock */ | 805 | spinlock_t int_lock; /* Interrupt lock */ |
812 | spinlock_t res_lock; /* Card resource lock */ | 806 | spinlock_t res_lock; /* Card resource lock */ |
813 | #ifdef NS_DEBUG_SPINLOCKS | ||
814 | volatile long has_int_lock; | ||
815 | volatile int cpu_int; | ||
816 | volatile long has_res_lock; | ||
817 | volatile int cpu_res; | ||
818 | #endif /* NS_DEBUG_SPINLOCKS */ | ||
819 | } ns_dev; | 807 | } ns_dev; |
820 | 808 | ||
821 | 809 | ||