Skip to content

Commit

Permalink
[media] saa7164: Remove unused saa7164_call_i2c_clients()
Browse files Browse the repository at this point in the history
This function has no users, so it's safe to remove it.
Tested by compilation only.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Ezequiel García authored and Mauro Carvalho Chehab committed Jul 30, 2012
1 parent b26f453 commit 5a6fa3f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/media/video/saa7164/saa7164-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,6 @@ static int i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num)
return retval;
}

void saa7164_call_i2c_clients(struct saa7164_i2c *bus, unsigned int cmd,
void *arg)
{
if (bus->i2c_rc != 0)
return;

i2c_clients_command(&bus->i2c_adap, cmd, arg);
}

static u32 saa7164_functionality(struct i2c_adapter *adap)
{
return I2C_FUNC_I2C;
Expand Down

0 comments on commit 5a6fa3f

Please sign in to comment.