i2c: octeon: thunderx: Remove double-check after interrupt
authorJan Glauber <jglauber@cavium.com>
Fri, 9 Dec 2016 09:31:56 +0000 (10:31 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 11 Dec 2016 21:59:10 +0000 (22:59 +0100)
commit38190dfb7056678e388f85cb9c79f8e479a4b263
treee2e9fa9ed49f6d91bc2459bf50c4e91639e047b7
parentccee1a4cdcd02e748d39d2b121f7f82041893121
i2c: octeon: thunderx: Remove double-check after interrupt

Commit 1bb1ff3e7c74 ("i2c: octeon: Improve performance if interrupt is
early") added a double-check around the wait_event_timeout() condition.
The performance problem that this commit tried to work-around
could not be reproduced. It also makes the wait condition more
complicated then it should be. Therefore remove the double-check.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-octeon-core.c