Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231463
| From | Yaowei Bai <bywxiaobai@163.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH RESEND 1/4] sound/onyx: remove redundant case entry |
| Date | 2015-09-23 16:10 +0200 |
| Message-ID | <qbSUa-6pd-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH RESEND 1/4] sound/onyx: remove redundant case entry Yaowei Bai <bywxiaobai@163.com> - 2015-09-23 16:10 +0200 [PATCH RESEND 2/4] sound/i2sbus/core: make format more appropriate Yaowei Bai <bywxiaobai@163.com> - 2015-09-23 16:10 +0200
csiph-web