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 |
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 --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)
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(-)