Skip to content

Commit

Permalink
ax25: SOCK_DEBUG message simplification
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bernard Pidoux authored and David S. Miller committed Mar 21, 2009
1 parent 3019684 commit 6078442
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions net/ax25/af_ax25.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6078442

Please sign in to comment.