Skip to contentSkip to conversation

SOCK_DEBUG message simplification

PATCH Applied bernard pidoux 1 participant 1 message Mar 19, 2009 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 SOCK_DEBUG message simplification

This patch condenses two debug messages in one.

---
 net/ax25/af_ax25.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
net/ax25/af_ax25.c +1 -3
index 00d9e5e..532a031 100644
@@ -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;
Signature · 1 line
1.6.0.6