summaryrefslogtreecommitdiff
path: root/kernel/wct4xxp/base.c
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-05-02 19:46:16 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-05-02 19:46:16 +0000
commit16de34fdb971405900757e4b8fa8a29423b1ec1d (patch)
treed71afaaff1329165d0667ef35c93cf59f0c14c84 /kernel/wct4xxp/base.c
parent8765a9d25403c31ca0422140f7b0a16633fc6ea6 (diff)
Remove some useless code that was merged from the stackcleanup branch
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4231 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/wct4xxp/base.c')
-rw-r--r--kernel/wct4xxp/base.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/kernel/wct4xxp/base.c b/kernel/wct4xxp/base.c
index 5e43601..1eecf80 100644
--- a/kernel/wct4xxp/base.c
+++ b/kernel/wct4xxp/base.c
@@ -659,15 +659,6 @@ static inline unsigned int t4_oct_in(struct t4 *wc, const unsigned int addr)
unsigned long flags;
unsigned int ret;
-#if 0
-#ifdef CONFIG_DETECT_SOFTLOCKUP
- if (!in_irq() && test_bit(T4_LOADING_FW, &wc->checkflag) && !(wc->oct_rw_count++ % 2000)) {
- //printk("Hit\n");
- //touch_softlockup_watchdog();
- //touch_all_softlockup_watchdogs();
- }
-#endif
-#endif
spin_lock_irqsave(&wc->reglock, flags);
ret = __t4_oct_in(wc, addr);
spin_unlock_irqrestore(&wc->reglock, flags);
@@ -730,16 +721,6 @@ static inline void t4_oct_out(struct t4 *wc, const unsigned int addr, const unsi
{
unsigned long flags;
-#if 0
-#ifdef CONFIG_DETECT_SOFTLOCKUP
- if (!in_irq() && test_bit(T4_LOADING_FW, &wc->checkflag) && !(wc->oct_rw_count++ % 2000)) {
- //printk("Hit\n");
- //touch_softlockup_watchdog();
- //touch_all_softlockup_watchdogs();
- }
-#endif
-#endif
-
spin_lock_irqsave(&wc->reglock, flags);
__t4_oct_out(wc, addr, value);
spin_unlock_irqrestore(&wc->reglock, flags);