diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2010-05-11 14:30:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-12 23:02:21 -0700 |
commit | b82834e66aabb6e26c2b792a46d44bab346c46fb (patch) | |
tree | 9ee6ed6c60b9e103ad58c8225e3155086ac2f6c4 /net/tipc | |
parent | df4ef33716232077564024baf0e5f2c74a295dfd (diff) | |
download | linux-b82834e66aabb6e26c2b792a46d44bab346c46fb.tar.gz linux-b82834e66aabb6e26c2b792a46d44bab346c46fb.tar.bz2 linux-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.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c index 0b86f6aef3d8..c95038f42652 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)) || |