[media] lmedm04: Remove redundant NULL check before kfree

kfree on NULL pointer is a no-op.

Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Syam Sidhardhan 2013-03-06 16:44:46 -03:00 committed by Mauro Carvalho Chehab
parent fc3a62e9f5
commit 72873e51c5

View file

@ -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);
}
}