提交 60784427 编写于 作者: B Bernard Pidoux 提交者: David S. Miller

ax25: SOCK_DEBUG message simplification

This patch condenses two debug messages in one.
Signed-off-by: NBernard Pidoux <f6bvp@amsat.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 30196845
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册