We know "ret" is zero so we don't need to test for it. It upsets the static checkers when we test stuff but we know the answer. drivers/media/usb/as102/as102_usb_drv.c:164 as102_send_ep1() warn: we tested 'ret' before and it was 'false' drivers/media/usb/as102/as102_usb_drv.c:189 as102_read_ep2() warn: we tested 'ret' before and it was 'false' Also, we don't need to initialize "ret". Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> |
||
---|---|---|
.. | ||
as10x_cmd_cfg.c | ||
as10x_cmd_stream.c | ||
as10x_cmd.c | ||
as10x_cmd.h | ||
as10x_handle.h | ||
as102_drv.c | ||
as102_drv.h | ||
as102_fw.c | ||
as102_fw.h | ||
as102_usb_drv.c | ||
as102_usb_drv.h | ||
Kconfig | ||
Makefile |