please apply to 2.6.16 tree -- thanks!

[ATM]: keep atmsvc failure messages quiet

Signed-off-by: Chas Williams <[EMAIL PROTECTED]>

---
commit 02ffc5995920ec858bd6cde41dff81237ca1a28f
tree 97f2f65c624bfa45e9e28f50fe024317c9cd1797
parent bb03a1d97c7f1fff1cb7330c13e9cf5ded8aaa3e
author chas williams <[EMAIL PROTECTED](none)> Thu, 02 Mar 2006 11:03:53 -0500
committer chas williams <[EMAIL PROTECTED](none)> Thu, 02 Mar 2006 11:03:53 
-0500

 net/atm/signaling.c |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/net/atm/signaling.c b/net/atm/signaling.c
--- a/net/atm/signaling.c
+++ b/net/atm/signaling.c
@@ -39,25 +39,19 @@ static DECLARE_WAIT_QUEUE_HEAD(sigd_slee
 static void sigd_put_skb(struct sk_buff *skb)
 {
 #ifdef WAIT_FOR_DEMON
-       static unsigned long silence;
        DECLARE_WAITQUEUE(wait,current);
 
        add_wait_queue(&sigd_sleep,&wait);
        while (!sigd) {
                set_current_state(TASK_UNINTERRUPTIBLE);
-               if (time_after(jiffies, silence) || silence == 0) {
-                       printk(KERN_INFO "atmsvc: waiting for signaling demon "
-                           "...\n");
-                       silence = (jiffies+30*HZ)|1;
-               }
+               DPRINTK("atmsvc: waiting for signaling demon...\n");
                schedule();
        }
        current->state = TASK_RUNNING;
        remove_wait_queue(&sigd_sleep,&wait);
 #else
        if (!sigd) {
-               if (net_ratelimit())
-                       printk(KERN_WARNING "atmsvc: no signaling demon\n");
+               DPRINTK("atmsvc: no signaling demon\n");
                kfree_skb(skb);
                return;
        }
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to