diff options
-rw-r--r-- | net/nfc/llcp/sock.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/nfc/llcp/sock.c b/net/nfc/llcp/sock.c index 0fa1e92ceac8..fea22eb41b82 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, | |||
614 | 614 | ||
615 | if (msg->msg_namelen < sizeof(*addr)) { | 615 | if (msg->msg_namelen < sizeof(*addr)) { |
616 | release_sock(sk); | 616 | release_sock(sk); |
617 | |||
618 | pr_err("Invalid socket address length %d\n", | ||
619 | msg->msg_namelen); | ||
620 | |||
621 | return -EINVAL; | 617 | return -EINVAL; |
622 | } | 618 | } |
623 | 619 | ||