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

Commit 72873e51 authored by Syam Sidhardhan's avatar Syam Sidhardhan Committed by Mauro Carvalho Chehab
Browse files

[media] lmedm04: Remove redundant NULL check before kfree



kfree on NULL pointer is a no-op.

Signed-off-by: default avatarSyam Sidhardhan <s.syam@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent fc3a62e9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1302,7 +1302,6 @@ static void lme2510_exit(struct dvb_usb_device *d)

	if (d != NULL) {
		usb_buffer = lme2510_exit_int(d);
		if (usb_buffer != NULL)
		kfree(usb_buffer);
	}
}