mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 07:30:16 +00:00
[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:
parent
fc3a62e9f5
commit
72873e51c5
@ -1302,8 +1302,7 @@ 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);
|
||||
kfree(usb_buffer);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user