diff options
author | Chuansheng Liu <chuansheng.liu@intel.com> | 2012-11-07 01:31:37 +0800 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-11-15 17:26:04 +0100 |
commit | c70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3 (patch) | |
tree | 7370721b01919de4c7287dbf1a45aa3337e24ecf /drivers/net/can/grcan.c | |
parent | 7653ebd5f6a4cd1976cb82e8ef94ebbe3ff001f3 (diff) | |
download | op-kernel-dev-c70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3.zip op-kernel-dev-c70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3.tar.gz |
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>
Diffstat (limited to 'drivers/net/can/grcan.c')
0 files changed, 0 insertions, 0 deletions