diff mbox

[1/3,AX25] SOCK_DEBUG message simplification

Message ID 1237486308.30285.12.camel@f6bvp-11
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Bernard Pidoux March 19, 2009, 6:11 p.m. UTC
This patch condenses two debug messages in one.

Signed-off-by: Bernard Pidoux <f6bvp@amsat.org>
---
 net/ax25/af_ax25.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

Comments

David Miller March 21, 2009, 8:33 p.m. UTC | #1
From: bernard pidoux <f6bvp@free.fr>
Date: Thu, 19 Mar 2009 19:11:48 +0100

> This patch condenses two debug messages in one.
> 
> Signed-off-by: Bernard Pidoux <f6bvp@amsat.org>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c
index 00d9e5e..532a031 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;