commit | c70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3 | [log] [tgz] |
---|---|---|
author | Chuansheng Liu <chuansheng.liu@intel.com> | Wed Nov 07 01:31:37 2012 +0800 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Nov 15 17:26:04 2012 +0100 |
tree | 7370721b01919de4c7287dbf1a45aa3337e24ecf | |
parent | 7653ebd5f6a4cd1976cb82e8ef94ebbe3ff001f3 [diff] |
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 <chuansheng.liu@intel.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>