Index: head/sys/riscv/sifive/fu540_spi.c =================================================================== --- head/sys/riscv/sifive/fu540_spi.c +++ head/sys/riscv/sifive/fu540_spi.c @@ -348,10 +348,8 @@ return (0); -fail1: - bus_release_resources(dev, fuspi_spec, &sc->res); - fail: + bus_release_resources(dev, fuspi_spec, &sc->res); mtx_destroy(&sc->mtx); return (error); }