From: Chuansheng Liu Date: Tue, 6 Nov 2012 17:18:37 +0000 (+0800) Subject: i2c: nomadik: Fix the usage of wait_for_completion_timeout X-Git-Tag: v3.8-rc1~54^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf7505ef9cd1349dfff0b2aeb9bc62f54c14e03d;p=pandora-kernel.git 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 Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed