Messages in this thread | | | Date | Tue, 06 Nov 2012 12:43:59 +0100 | From | Marc Kleine-Budde <> | Subject | Re: [PATCH 5/7] can: janz-ican3: Fix the usage of wait_for_completion_timeout |
| |
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@intel.com>
Thnx, applied to can-next. Please put linux-can@vger.kernel.org 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 |
[unhandled content-type:application/pgp-signature] | |