[zaptel-commits] mattf: branch 1.4 r4231 - /branches/1.4/kernel/wct4xxp/base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Fri May 2 14:46:16 CDT 2008


Author: mattf
Date: Fri May  2 14:46:16 2008
New Revision: 4231

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4231
Log:
Remove some useless code that was merged from the stackcleanup branch

Modified:
    branches/1.4/kernel/wct4xxp/base.c

Modified: branches/1.4/kernel/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/wct4xxp/base.c?view=diff&rev=4231&r1=4230&r2=4231
==============================================================================
--- branches/1.4/kernel/wct4xxp/base.c (original)
+++ branches/1.4/kernel/wct4xxp/base.c Fri May  2 14:46:16 2008
@@ -659,15 +659,6 @@
 	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);
@@ -729,16 +720,6 @@
 static inline void t4_oct_out(struct t4 *wc, const unsigned int addr, const unsigned int value)
 {
 	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);




More information about the zaptel-commits mailing list