diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-10 02:41:28 -0400 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-11 06:47:52 -0400 |
commit | a9f83bf3858672164ed531cbc60ee9082d21d53f (patch) | |
tree | d36f642eb38fd89b3e5cac6b1ca2bdf9d45ceac5 /net/ipv6/ip6mr.c | |
parent | 02e10b90cd478bda81b4644102b0009bcd1d14ab (diff) |
[IPV6]: Sparse: Reuse previous delaration where appropriate.
| net/ipv6/ipv6_sockglue.c:162:16: warning: symbol 'net' shadows an earlier one
| net/ipv6/ipv6_sockglue.c:111:13: originally declared here
| net/ipv6/ipv6_sockglue.c:175:16: warning: symbol 'net' shadows an earlier one
| net/ipv6/ipv6_sockglue.c:111:13: originally declared here
| net/ipv6/ip6mr.c:1241:10: warning: symbol 'ret' shadows an earlier one
| net/ipv6/ip6mr.c:1163:6: originally declared here
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv6/ip6mr.c')
-rw-r--r-- | net/ipv6/ip6mr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index da673ef75e12..433042114148 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c | |||
@@ -1238,7 +1238,7 @@ int ip6_mroute_setsockopt(struct sock *sk, int optname, char __user *optval, int | |||
1238 | #ifdef CONFIG_IPV6_PIMSM_V2 | 1238 | #ifdef CONFIG_IPV6_PIMSM_V2 |
1239 | case MRT6_PIM: | 1239 | case MRT6_PIM: |
1240 | { | 1240 | { |
1241 | int v, ret; | 1241 | int v; |
1242 | if (get_user(v, (int __user *)optval)) | 1242 | if (get_user(v, (int __user *)optval)) |
1243 | return -EFAULT; | 1243 | return -EFAULT; |
1244 | v = !!v; | 1244 | v = !!v; |