diff options
author | Chuansheng Liu <chuansheng.liu@intel.com> | 2012-11-06 17:31:37 (GMT) |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-11-15 16:26:04 (GMT) |
commit | c70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3 (patch) | |
tree | 7370721b01919de4c7287dbf1a45aa3337e24ecf /kernel/uid16.c | |
parent | 7653ebd5f6a4cd1976cb82e8ef94ebbe3ff001f3 (diff) | |
download | linux-c70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3.tar.xz |
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 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions