git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b6706
)
i2c: nomadik: Fix the usage of wait_for_completion_timeout
author
Chuansheng Liu
<chuansheng.liu@intel.com>
Tue, 6 Nov 2012 17:18:37 +0000
(
01:18
+0800)
committer
Wolfram Sang
<w.sang@pengutronix.de>
Mon, 12 Nov 2012 17:21:55 +0000
(18:21 +0100)
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 <chuansheng.liu@intel.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
No differences found