From: Ezequiel GarcĂ­a Date: Wed, 27 Jun 2012 15:52:50 +0000 (-0300) Subject: [media] saa7164: Remove unused saa7164_call_i2c_clients() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5a6fa3fe9a465d1c5e1e6bf8a4ad1ca9063131a5;p=linux-beck.git [media] saa7164: Remove unused saa7164_call_i2c_clients() This function has no users, so it's safe to remove it. Tested by compilation only. Signed-off-by: Ezequiel Garcia Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/saa7164/saa7164-i2c.c b/drivers/media/video/saa7164/saa7164-i2c.c index 1c54ab47fb62..d8d7baa4c636 100644 --- a/drivers/media/video/saa7164/saa7164-i2c.c +++ b/drivers/media/video/saa7164/saa7164-i2c.c @@ -69,15 +69,6 @@ err: 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;