Re: [PATCH] ASoC: wm_hubs: Remove unneeded count variable inwait_for_dc_servo

From: Mark Brown
Date: Fri Oct 07 2011 - 06:13:53 EST


On Fri, Oct 07, 2011 at 03:54:25PM +0800, Axel Lin wrote:
> The count variable is not required, decrement timeout in the while loop
> can achieve the same effect.

Having the count original timeout there is helpful when debugging and
there's not going to be any meaningful cost from having both.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/