Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60784427 authored by Bernard Pidoux's avatar Bernard Pidoux Committed by David S. Miller
Browse files

ax25: SOCK_DEBUG message simplification



This patch condenses two debug messages in one.

Signed-off-by: default avatarBernard Pidoux <f6bvp@amsat.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 30196845
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;