summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/s5k4ecgx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/s5k4ecgx.c')
-rw-r--r--drivers/media/i2c/s5k4ecgx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/i2c/s5k4ecgx.c b/drivers/media/i2c/s5k4ecgx.c
index 79aa2740edc4..79c1894c2c83 100644
--- a/drivers/media/i2c/s5k4ecgx.c
+++ b/drivers/media/i2c/s5k4ecgx.c
@@ -263,8 +263,6 @@ static int s5k4ecgx_read(struct i2c_client *client, u32 addr, u16 *val)
ret = s5k4ecgx_i2c_write(client, REG_CMDRD_ADDRL, low);
if (!ret)
ret = s5k4ecgx_i2c_read(client, REG_CMDBUF0_ADDR, val);
- if (!ret)
- dev_err(&client->dev, "Failed to execute read command\n");
return ret;
}