mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 06:08:22 +00:00
[media] tda10071: remove a duplicative test
"ret" is an error code here, we already tested that. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Antti Palosaari <crope@iki.fi> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
a24bc323eb
commit
a3a528ba8e
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue