From: Shubhrajyoti D Date: Tue, 29 May 2012 10:56:17 +0000 (+0530) Subject: I2C: OMAP: Don't check if wait_for_completion_timeout() returns less than zero X-Git-Tag: v3.6-rc1~67^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33d549851d2fcb6492429ebfebc344a8988b259d;p=pandora-kernel.git I2C: OMAP: Don't check if wait_for_completion_timeout() returns less than zero By definition, wait_for_completion_timeout() returns an unsigned value and therefore, it is not necessary to check if the return value is less than zero as this is not possible. This is based on a patch from Jon Hunter Changes from his patch - Declare a long as the wait_for_completion_timeout returns long. Original patch is http://git.omapzoom.org/?p=kernel/omap.git;a=commitdiff;h=ea02cece7b0000bc736e60c4188a11aaa74bc6e6 Reviewed-by: Kevin Hilman Signed-off-by: Jon Hunter Signed-off-by: Shubhrajyoti D Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed