From: Dave Jones Date: Wed, 12 Dec 2012 18:11:34 +0000 (+0000) Subject: nfc: remove noisy message from llcp_sock_sendmsg X-Git-Tag: v3.8-rc1~126^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=026e43def736923fedb9919a0bd22fff7ba03e8b;p=platform%2Fupstream%2Fkernel-adaptation-pc.git nfc: remove noisy message from llcp_sock_sendmsg This is easily triggerable when fuzz-testing as an unprivileged user. We could rate-limit it, but given we don't print similar messages for other protocols, I just removed it. Signed-off-by: Dave Jones Signed-off-by: David S. Miller --- diff --git a/net/nfc/llcp/sock.c b/net/nfc/llcp/sock.c index 0fa1e92..fea22eb 100644 --- a/net/nfc/llcp/sock.c +++ b/net/nfc/llcp/sock.c @@ -614,10 +614,6 @@ static int llcp_sock_sendmsg(struct kiocb *iocb, struct socket *sock, if (msg->msg_namelen < sizeof(*addr)) { release_sock(sk); - - pr_err("Invalid socket address length %d\n", - msg->msg_namelen); - return -EINVAL; }