From: Roel Kluin Date: Fri, 23 Oct 2009 14:03:08 +0000 (+0200) Subject: ALSA: Cleanup redundant tests on unsigned X-Git-Tag: v2.6.33-rc1~390^2~2^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84ed1a1942e8c28fb4c23a6235ec48672fc43e49;p=pandora-kernel.git ALSA: Cleanup redundant tests on unsigned 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed