ALSA: Cleanup redundant tests on unsigned
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 23 Oct 2009 14:03:08 +0000 (16:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 30 Oct 2009 11:25:07 +0000 (12:25 +0100)
The variables are unsigned so the test `>= 0' is always true,
the `< 0' test always fails. In these cases the other part of
the test catches wrapped values.

In dac_audio_write() there does not occur a test for wrapped
values, but the test appears redundant.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found