commit | 3ed37a6fa70a3a63dbb257fc640facb3974bba40 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Mon May 31 17:23:21 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 01 00:15:54 2010 -0700 |
tree | 74722d590bb45aebae53890c25a8dcbae6090a13 | |
parent | 589be6500560c70f4873f8c1fb66671624944433 [diff] |
net/ipv4/igmp.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/ipv4/igmp.c b/net/ipv4/igmp.c index 5fff865..250cb5e 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c
@@ -1646,8 +1646,7 @@ if (dpsf->sf_inaddr == psf->sf_inaddr) break; if (!dpsf) { - dpsf = (struct ip_sf_list *) - kmalloc(sizeof(*dpsf), GFP_ATOMIC); + dpsf = kmalloc(sizeof(*dpsf), GFP_ATOMIC); if (!dpsf) continue; *dpsf = *psf;