ASoC: ssm4567: Remove duplicated else-if branch
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Wed, 1 Oct 2014 17:15:57 +0000 (10:15 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 2 Oct 2014 11:20:51 +0000 (12:20 +0100)
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ssm4567.c

index 1dadacb94efc7db83bc3ef9d7bf7ff5155018c7a..4b5c17f8507ed0a6235d7c9fd1b1f2973a30b221 100644 (file)
@@ -173,8 +173,6 @@ static int ssm4567_hw_params(struct snd_pcm_substream *substream,
                dacfs = SSM4567_DAC_FS_32000_48000;
        else if (rate >= 64000 && rate <= 96000)
                dacfs = SSM4567_DAC_FS_64000_96000;
-       else if (rate >= 64000 && rate <= 96000)
-               dacfs = SSM4567_DAC_FS_64000_96000;
        else if (rate >= 128000 && rate <= 192000)
                dacfs = SSM4567_DAC_FS_128000_192000;
        else