Re: [PATCH 5/7] can: janz-ican3: Fix the usage of wait_for_completion_timeout

From: Marc Kleine-Budde
Date: Tue Nov 06 2012 - 06:44:17 EST


On 11/06/2012 06:31 PM, Chuansheng Liu wrote:
>
> 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@xxxxxxxxx>

Thnx, applied to can-next. Please put linux-can@xxxxxxxxxxxxxxx on Cc
next time.

regards, Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |

Attachment: signature.asc
Description: OpenPGP digital signature