From: Bernard Pidoux Date: Sat, 21 Mar 2009 20:33:18 +0000 (-0700) Subject: ax25: SOCK_DEBUG message simplification X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=60784427ab331dc13c070ac4b0cc9a735bdfa9c0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ax25: SOCK_DEBUG message simplification This patch condenses two debug messages in one. Signed-off-by: Bernard Pidoux Signed-off-by: David S. Miller --- diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 8f8f63ff6566..fd9d06f291dc 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c @@ -1529,10 +1529,8 @@ static int ax25_sendmsg(struct kiocb *iocb, struct socket *sock, dp = ax25->digipeat; } - SOCK_DEBUG(sk, "AX.25: sendto: Addresses built.\n"); - /* Build a packet */ - SOCK_DEBUG(sk, "AX.25: sendto: building packet.\n"); + SOCK_DEBUG(sk, "AX.25: sendto: Addresses built. Building packet.\n"); /* Assume the worst case */ size = len + ax25->ax25_dev->dev->hard_header_len;