diff mbox series

[net-next,01/11] net: ping6: remove a pr_debug() statement

Message ID 20220210003649.3120861-2-kuba@kernel.org (mailing list archive)
State Accepted
Commit 426522394649233f00b1da9bc813fdd5ef3a05fe
Headers show
Series net: ping6: support basic socket cmsgs | expand

Commit Message

Jakub Kicinski Feb. 10, 2022, 12:36 a.m. UTC
We have ftrace and BPF today, there's no need for printing arguments
at the start of a function.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
 net/ipv6/ping.c | 2 --
 1 file changed, 2 deletions(-)

Comments

David Ahern Feb. 10, 2022, 5:30 a.m. UTC | #1
On 2/9/22 4:36 PM, Jakub Kicinski wrote:
> We have ftrace and BPF today, there's no need for printing arguments
> at the start of a function.
> 
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
> ---
>  net/ipv6/ping.c | 2 --
>  1 file changed, 2 deletions(-)
> 

Reviewed-by: David Ahern <dsahern@kernel.org>
diff mbox series

Patch

diff --git a/net/ipv6/ping.c b/net/ipv6/ping.c
index 9256f6ba87ef..86a72f7a61cf 100644
--- a/net/ipv6/ping.c
+++ b/net/ipv6/ping.c
@@ -59,8 +59,6 @@  static int ping_v6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
 	struct pingfakehdr pfh;
 	struct ipcm6_cookie ipc6;
 
-	pr_debug("ping_v6_sendmsg(sk=%p,sk->num=%u)\n", inet, inet->inet_num);
-
 	err = ping_common_sendmsg(AF_INET6, msg, len, &user_icmph,
 				  sizeof(user_icmph));
 	if (err)