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

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
...@@ -1529,10 +1529,8 @@ static int ax25_sendmsg(struct kiocb *iocb, struct socket *sock, ...@@ -1529,10 +1529,8 @@ static int ax25_sendmsg(struct kiocb *iocb, struct socket *sock,
dp = ax25->digipeat; dp = ax25->digipeat;
} }
SOCK_DEBUG(sk, "AX.25: sendto: Addresses built.\n");
/* Build a packet */ /* 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 */ /* Assume the worst case */
size = len + ax25->ax25_dev->dev->hard_header_len; size = len + ax25->ax25_dev->dev->hard_header_len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment