[alsa-devel] [PATCH] ASoC: wm_hubs: Remove unneeded count variable in wait_for_dc_servo
broonie at opensource.wolfsonmicro.com
Fri Oct 7 12:13:50 CEST 2011
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.
More information about the Alsa-devel