diff --git a/sys/dev/amr/amr.c b/sys/dev/amr/amr.c index 4fe9ba7aadc5..a20a580b0960 100644 --- a/sys/dev/amr/amr.c +++ b/sys/dev/amr/amr.c @@ -1884,7 +1884,9 @@ amr_describe_controller(struct amr_softc *sc) break; } } else { - prod = "unsupported controller"; + device_printf(sc->amr_dev, "\n"); + mtx_unlock(&sc->amr_io_lock); + return; } /*