commit | 5d55354f147bcf82b7a330bf9617b82a692b7d49 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Mon May 31 17:23:22 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 01 00:15:54 2010 -0700 |
tree | 4a2723ad497a795914cb86a69ae97245f8fcc535 | |
parent | 3ed37a6fa70a3a63dbb257fc640facb3974bba40 [diff] [blame] |
net/ipv6/mcast.c: Remove unnecessary kmalloc casts Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index 59f1881..7b5fb43 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c
@@ -1995,8 +1995,7 @@ &psf->sf_addr)) break; if (!dpsf) { - dpsf = (struct ip6_sf_list *) - kmalloc(sizeof(*dpsf), GFP_ATOMIC); + dpsf = kmalloc(sizeof(*dpsf), GFP_ATOMIC); if (!dpsf) continue; *dpsf = *psf;