diff options
author | Joe Perches <joe@perches.com> | 2008-11-19 15:44:53 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-19 15:44:53 -0800 |
commit | 07f0757a6808f2f36a0e58c3a54867ccffdb8dc9 (patch) | |
tree | e04b573c3f1471ff21c6b2499682a620f4db7eae /net/ipv6/mcast.c | |
parent | a7a0d6a87b70f7b2bab5281fc0fd443772bd0795 (diff) | |
download | linux-3.10-07f0757a6808f2f36a0e58c3a54867ccffdb8dc9.tar.gz linux-3.10-07f0757a6808f2f36a0e58c3a54867ccffdb8dc9.tar.bz2 linux-3.10-07f0757a6808f2f36a0e58c3a54867ccffdb8dc9.zip |
include/net net/ - csum_partial - remove unnecessary casts
The first argument to csum_partial is const void *
casts to char/u8 * are not necessary
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/mcast.c')
-rw-r--r-- | net/ipv6/mcast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index a76199ecad2..870a1d64605 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c @@ -1817,7 +1817,7 @@ static void igmp6_send(struct in6_addr *addr, struct net_device *dev, int type) hdr->icmp6_cksum = csum_ipv6_magic(saddr, snd_addr, len, IPPROTO_ICMPV6, - csum_partial((__u8 *) hdr, len, 0)); + csum_partial(hdr, len, 0)); idev = in6_dev_get(skb->dev); |