提交 72873e51 编写于 作者: S Syam Sidhardhan 提交者: Mauro Carvalho Chehab

[media] lmedm04: Remove redundant NULL check before kfree

kfree on NULL pointer is a no-op.
Signed-off-by: NSyam Sidhardhan <s.syam@samsung.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 fc3a62e9
......@@ -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);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册