team: don't print warn message on -ESRCH during event send
authorJiri Pirko <jiri@resnulli.us>
Thu, 23 Aug 2012 03:26:51 +0000 (03:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Aug 2012 17:46:39 +0000 (13:46 -0400)
commit0c7517e9faa2f79afe95b47321f3cd08fe0145cd
treeb2f869d36a3ae6e6d303220a4f71b4d8d04a58c5
parent1f7c9ae7a014d994c01a7dd59333f2fcef2aba58
team: don't print warn message on -ESRCH during event send

When no one is listening on NL socket, -ESRCH is returned and warning
message is printed. This message is confusing people and in fact has no
meaning. So do not print it in this case.

Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c