diff options
author | Chuansheng Liu <chuansheng.liu@intel.com> | 2012-11-06 18:31:37 +0100 |
---|---|---|
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 | can: usb: esd_usb2: Add support for CAN-USB/Micro (diff) | |
download | linux-c70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3.tar.xz linux-c70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3.zip |
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 '')
0 files changed, 0 insertions, 0 deletions