]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] saa7164: Remove unused saa7164_call_i2c_clients()
authorEzequiel García <elezegarcia@gmail.com>
Wed, 27 Jun 2012 15:52:50 +0000 (12:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 22:53:30 +0000 (19:53 -0300)
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>
drivers/media/video/saa7164/saa7164-i2c.c

index 1c54ab47fb6239126370120bc623c919022f5e0d..d8d7baa4c63646d8ee5bbe4a6cb7a04221c270a9 100644 (file)
@@ -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;