summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-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);