提交 4c3414ee 编写于 作者: E Erik Andrén 提交者: Mauro Carvalho Chehab

V4L/DVB (11631): gspca - m5602: Remove useless error check

Signed-off-by: NErik Andrén <erik.andren@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 04e84f87
......@@ -84,10 +84,11 @@ int m5602_wait_for_i2c(struct sd *sd)
{
int err;
u8 data;
do {
err = m5602_read_bridge(sd, M5602_XB_I2C_STATUS, &data);
} while ((data & I2C_BUSY) && !err);
return (err < 0) ? err : 0;
return err;
}
int m5602_read_sensor(struct sd *sd, const u8 address,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册