Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ed37a6f authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

net/ipv4/igmp.c: Remove unnecessary kmalloc casts

parent 589be650
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1646,8 +1646,7 @@ static int sf_setstate(struct ip_mc_list *pmc)
				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;