summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-i2c.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-i2c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/video/cx23885/cx23885-i2c.c b/drivers/media/video/cx23885/cx23885-i2c.c
index 155ab928cd60..c40c37f2d139 100644
--- a/drivers/media/video/cx23885/cx23885-i2c.c
+++ b/drivers/media/video/cx23885/cx23885-i2c.c
@@ -267,12 +267,10 @@ static int detach_inform(struct i2c_client *client)
void cx23885_call_i2c_clients(struct cx23885_i2c *bus,
unsigned int cmd, void *arg)
{
-// struct cx23885_dev *dev = bus->dev;
-
if (bus->i2c_rc != 0)
return;
- i2c_clients_command(&bus->i2c_adap, cmd, arg);
+ i2c_clients_command(&bus->i2c_adap, cmd, arg);
}
static int cx23885_algo_control(struct i2c_adapter *adap,
OpenPOWER on IntegriCloud