mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ax25: SOCK_DEBUG message simplification
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>
This commit is contained in:
parent
301968451d
commit
60784427ab
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user