mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
media: zd1301_demod: don't check retval after our own assignemt
No need to check a retval after we assigned a constant to it. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
0b25167d1c
commit
5cf7e71f7a
@ -421,7 +421,6 @@ static int zd1301_demod_i2c_master_xfer(struct i2c_adapter *adapter,
|
||||
} else {
|
||||
dev_dbg(&pdev->dev, "unknown msg[0].len=%u\n", msg[0].len);
|
||||
ret = -EOPNOTSUPP;
|
||||
if (ret)
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user