diff options
author | Florian Westphal <fw@strlen.de> | 2007-08-02 19:28:06 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-08-02 19:42:31 -0700 |
commit | d788d8056fd913defa48bd94f18dc53de98cd7a6 (patch) | |
tree | 139588307f7706579c39541343f8fb77af895b35 /net/tipc/node.c | |
parent | 248bbf38215fd5ce45a31c65c5e5511d9b611e5a (diff) | |
download | linux-stable-d788d8056fd913defa48bd94f18dc53de98cd7a6.tar.gz linux-stable-d788d8056fd913defa48bd94f18dc53de98cd7a6.tar.bz2 linux-stable-d788d8056fd913defa48bd94f18dc53de98cd7a6.zip |
[TIPC]: Fix two minor sparse warnings.
fix two warnings generated by sparse:
link.c:2386 symbol 'msgcount' shadows an earlier one
node.c:244 symbol 'addr_string' shadows an earlier one
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index e2e452a62ba1..598f4d3a0098 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -241,8 +241,6 @@ struct node *tipc_node_attach_link(struct link *l_ptr) char addr_string[16]; if (n_ptr->link_cnt >= 2) { - char addr_string[16]; - err("Attempt to create third link to %s\n", addr_string_fill(addr_string, n_ptr->addr)); return NULL; |