tipc: don't log disabled tasklet handler errors
authorErik Hugne <erik.hugne@ericsson.com>
Thu, 6 Mar 2014 13:40:21 +0000 (14:40 +0100)
committerJiri Slaby <jslaby@suse.cz>
Fri, 18 Apr 2014 09:06:57 +0000 (11:06 +0200)
[ Upstream commit 2892505ea170094f982516bb38105eac45f274b1 ]

Failure to schedule a TIPC tasklet with tipc_k_signal because the
tasklet handler is disabled is not an error. It means TIPC is
currently in the process of shutting down. We remove the error
logging in this case.

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/tipc/handler.c

index b36f0fcd9bdfe76d04adf287687190ada3e9ccca..79b991e044a947784cd297a86e379c2aad49b786 100644 (file)
@@ -57,7 +57,6 @@ unsigned int tipc_k_signal(Handler routine, unsigned long argument)
        struct queue_item *item;
 
        if (!handler_enabled) {
-               pr_err("Signal request ignored by handler\n");
                return -ENOPROTOOPT;
        }