X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fi2c%2Falgos%2Fi2c-algo-ite.c;h=1b2c67c7fd1b90cb62a0f373ac0493efbded5912;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=7405aac67e36d2e642b2e2ed9e739c0662479bf8;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/i2c/algos/i2c-algo-ite.c b/drivers/i2c/algos/i2c-algo-ite.c index 7405aac67..1b2c67c7f 100644 --- a/drivers/i2c/algos/i2c-algo-ite.c +++ b/drivers/i2c/algos/i2c-algo-ite.c @@ -107,14 +107,6 @@ static int wait_for_bb(struct i2c_algo_iic_data *adap) return(timeout<=0); } -/* - * Puts this process to sleep for a period equal to timeout - */ -static inline void iic_sleep(unsigned long timeout) -{ - schedule_timeout( timeout * HZ); -} - /* After we issue a transaction on the IIC bus, this function * is called. It puts this process to sleep until we get an interrupt from * from the controller telling us that the transaction we requested in complete.