aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/macio/onyx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/macio/onyx.c')
-rw-r--r--sys/dev/sound/macio/onyx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/sound/macio/onyx.c b/sys/dev/sound/macio/onyx.c
index 00c7b826f142..d13f3da92db6 100644
--- a/sys/dev/sound/macio/onyx.c
+++ b/sys/dev/sound/macio/onyx.c
@@ -197,7 +197,6 @@ onyx_probe(device_t dev)
if (strcmp(name, "codec") == 0) {
if (iicbus_get_addr(dev) != PCM3052_IICADDR)
return (ENXIO);
- } else if (strcmp(name, "codec") == 0) {
compat = ofw_bus_get_compat(dev);
if (compat == NULL || strcmp(compat, "pcm3052") != 0)
return (ENXIO);