summaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2010-05-11 14:30:04 +0000
committerDavid S. Miller <davem@davemloft.net>2010-05-12 23:02:21 -0700
commitb82834e66aabb6e26c2b792a46d44bab346c46fb (patch)
tree9ee6ed6c60b9e103ad58c8225e3155086ac2f6c4 /net/tipc
parentdf4ef33716232077564024baf0e5f2c74a295dfd (diff)
downloadlinux-3.10-b82834e66aabb6e26c2b792a46d44bab346c46fb.tar.gz
linux-3.10-b82834e66aabb6e26c2b792a46d44bab346c46fb.tar.bz2
linux-3.10-b82834e66aabb6e26c2b792a46d44bab346c46fb.zip
tipc: Eliminate unused argument in print statement
Eliminate an argument in a print statement that has no corresponding format specification. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/link.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c
index 0b86f6aef3d..c95038f4265 100644
--- a/net/tipc/link.c
+++ b/net/tipc/link.c
@@ -3328,9 +3328,7 @@ static void link_print(struct link *l_ptr, struct print_buf *buf,
if (l_ptr->next_out)
tipc_printf(buf, "%u..",
msg_seqno(buf_msg(l_ptr->next_out)));
- tipc_printf(buf, "%u]",
- msg_seqno(buf_msg
- (l_ptr->last_out)), l_ptr->out_queue_size);
+ tipc_printf(buf, "%u]", msg_seqno(buf_msg(l_ptr->last_out)));
if ((mod(msg_seqno(buf_msg(l_ptr->last_out)) -
msg_seqno(buf_msg(l_ptr->first_out)))
!= (l_ptr->out_queue_size - 1)) ||