提交 a3a528ba 编写于 作者: D Dan Carpenter 提交者: Mauro Carvalho Chehab

[media] tda10071: remove a duplicative test

"ret" is an error code here, we already tested that.
Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
Acked-by: NAntti Palosaari <crope@iki.fi>
Reviewed-by: NAntti Palosaari <crope@iki.fi>
Signed-off-by: NAntti Palosaari <crope@iki.fi>
Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
上级 a24bc323
......@@ -1006,8 +1006,7 @@ static int tda10071_init(struct dvb_frontend *fe)
dev_err(&priv->i2c->dev, "%s: firmware " \
"download failed=%d\n",
KBUILD_MODNAME, ret);
if (ret)
goto error_release_firmware;
goto error_release_firmware;
}
}
release_firmware(fw);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册