linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] sound/onyx: remove redundant case entry
@ 2015-09-21 13:57 Yaowei Bai
  2015-09-21 13:57 ` [PATCH 2/4] sound/i2sbus/core: make format more appropriate Yaowei Bai
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Yaowei Bai @ 2015-09-21 13:57 UTC (permalink / raw)
  To: perex, tiwai, johannes, k.kozlowski, elfring, fabf, lars
  Cc: linuxppc-dev, alsa-devel, linux-kernel

Case ti->tag == 0 can be included in the last return,
remove it.

No functional change.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
---
 sound/aoa/codecs/onyx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/aoa/codecs/onyx.c b/sound/aoa/codecs/onyx.c
index a04edff..a407e1f 100644
--- a/sound/aoa/codecs/onyx.c
+++ b/sound/aoa/codecs/onyx.c
@@ -683,7 +683,6 @@ static int onyx_usable(struct codec_info_item *cii,
 	mutex_unlock(&onyx->mutex);
 
 	switch (ti->tag) {
-	case 0: return 1;
 	case 1:	return analog_enabled;
 	case 2: return spdif_enabled;
 	}
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-23 13:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-21 13:57 [PATCH 1/4] sound/onyx: remove redundant case entry Yaowei Bai
2015-09-21 13:57 ` [PATCH 2/4] sound/i2sbus/core: make format more appropriate Yaowei Bai
2015-09-21 13:57 ` [PATCH 3/4] sound/fabrics/layout: make aoa_fabric_layout_init return directly Yaowei Bai
2015-09-21 13:57 ` [PATCH 4/4] sound/core/seq: make prioq_match return bool Yaowei Bai
2015-09-21 14:11   ` Johannes Berg
2015-09-22 13:22     ` Yaowei Bai
2015-09-22 13:28       ` Johannes Berg
2015-09-23 13:29         ` Yaowei Bai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).