diff options
| author | Chuansheng Liu <[email protected]> | 2012-11-07 01:18:37 +0800 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2012-11-12 18:21:55 +0100 |
| commit | cf7505ef9cd1349dfff0b2aeb9bc62f54c14e03d (patch) | |
| tree | 13c69afc6bff89d82efd82f372bc92e25af0c1e6 /include/linux | |
| parent | 77b67063bb6bce6d475e910d3b886a606d0d91f7 (diff) | |
i2c: nomadik: Fix the usage of wait_for_completion_timeout
The return value of wait_for_completion_timeout() is always
>= 0 with unsigned int type.
So the condition "ret < 0" or "ret >= 0" is pointless.
Signed-off-by: liu chuansheng <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions