ax25: SOCK_DEBUG message simplification
authorBernard Pidoux <f6bvp@amsat.org>
Sat, 21 Mar 2009 20:33:18 +0000 (13:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Mar 2009 20:33:18 +0000 (13:33 -0700)
This patch condenses two debug messages in one.

Signed-off-by: Bernard Pidoux <f6bvp@amsat.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/af_ax25.c

index 8f8f63ff65661150410a9020dd555dd7d59cdbc3..fd9d06f291dc31f4bb0d108f85d3eff51ead0e3f 100644 (file)
@@ -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;