From: Chuansheng Liu Date: Tue, 6 Nov 2012 17:31:37 +0000 (+0800) Subject: can: janz-ican3: Fix the usage of wait_for_completion_timeout X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~309^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3;p=pandora-kernel.git can: janz-ican3: 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: Marc Kleine-Budde --- Reading git-diff-tree failed