tipc: Eliminate unused argument in print statement
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 11 May 2010 14:30:04 +0000 (14:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 May 2010 06:02:21 +0000 (23:02 -0700)
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>
net/tipc/link.c

index 0b86f6a..c95038f 100644 (file)
@@ -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)) ||