ASoC: ssm4567: Remove duplicated else-if branch
diff mbox

Message ID 1412183757-26843-1-git-send-email-anatol.pomozov@gmail.com
State Accepted
Commit 7c168d5f8bda5716e1a49040b901f26a3002517d
Headers show

Commit Message

anatol.pomozov@gmail.com Oct. 1, 2014, 5:15 p.m. UTC
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
---
 sound/soc/codecs/ssm4567.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Lars-Peter Clausen Oct. 2, 2014, 7:35 a.m. UTC | #1
On 10/01/2014 07:15 PM, Anatol Pomozov wrote:
> Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>

Acked-by: Lars-Peter Clausen <lars@metafoo.de>

Thanks.
Mark Brown Oct. 2, 2014, 11:21 a.m. UTC | #2
On Wed, Oct 01, 2014 at 10:15:57AM -0700, Anatol Pomozov wrote:
> Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>

Applied, thanks.

Patch
diff mbox

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