[alsa-devel] [PATCH] ASoC: ssm4567: Remove duplicated else-if branch

Anatol Pomozov anatol.pomozov at gmail.com
Wed Oct 1 19:15:57 CEST 2014


Signed-off-by: Anatol Pomozov <anatol.pomozov at gmail.com>
---
 sound/soc/codecs/ssm4567.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/codecs/ssm4567.c b/sound/soc/codecs/ssm4567.c
index 1dadacb..4b5c17f 100644
--- a/sound/soc/codecs/ssm4567.c
+++ b/sound/soc/codecs/ssm4567.c
@@ -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
-- 
2.1.0.rc2.206.gedb03e5



More information about the Alsa-devel mailing list