summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/grcan.c
diff options
context:
space:
mode:
authorChuansheng Liu <chuansheng.liu@intel.com>2012-11-07 01:31:37 +0800
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-11-15 17:26:04 +0100
commitc70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3 (patch)
tree7370721b01919de4c7287dbf1a45aa3337e24ecf /drivers/net/can/grcan.c
parent7653ebd5f6a4cd1976cb82e8ef94ebbe3ff001f3 (diff)
downloadop-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
OpenPOWER on IntegriCloud