diff options
author | Wolfram Sang <wolfram@the-dreams.de> | 2012-04-19 17:13:51 +0200 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-05-12 14:28:14 +0200 |
commit | 4a5fe5cb5a3224d03618272f9ba92c626dc44cda (patch) | |
tree | efdccf439c2d3889addc962f7c9e0c96e69cf68a /drivers/i2c | |
parent | i2c: eg20t: pass on return value in i2c_xfer (diff) | |
download | linux-4a5fe5cb5a3224d03618272f9ba92c626dc44cda.tar.xz linux-4a5fe5cb5a3224d03618272f9ba92c626dc44cda.zip |
i2c: eg20t: remove unused function
cppcheck rightfully says:
drivers/i2c/busses/i2c-eg20t.c:266: style: The function 'ktime_lt' is never used
Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
Cc: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-eg20t.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c index 93926a73f043..5441e6929f12 100644 --- a/drivers/i2c/busses/i2c-eg20t.c +++ b/drivers/i2c/busses/i2c-eg20t.c @@ -263,11 +263,6 @@ static void pch_i2c_init(struct i2c_algo_pch_data *adap) init_waitqueue_head(&pch_event); } -static inline bool ktime_lt(const ktime_t cmp1, const ktime_t cmp2) -{ - return cmp1.tv64 < cmp2.tv64; -} - /** * pch_i2c_wait_for_bus_idle() - check the status of bus. * @adap: Pointer to struct i2c_algo_pch_data. |