Thread (8 messages) flat view 8 messages, 2 authors, 2015-09-23
STALE4005d

[PATCH 1/4] sound/onyx: remove redundant case entry

From: Yaowei Bai <hidden>
Date: 2015-09-21 14:06:13
Also in: alsa-devel, lkml
Subsystem: aoa (apple onboard audio) alsa driver, sound, the rest · Maintainers: Johannes Berg, Jaroslav Kysela, Takashi Iwai, Linus Torvalds

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

No functional change.

Signed-off-by: Yaowei Bai <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help