Remove extra semicolon which rendered condition useless
Submitted by: Stefan Farfelder <stefanf@FreeBSD.org>
This commit is contained in:
parent
e506e182dd
commit
6de0a4fa84
@ -102,7 +102,7 @@ gpioc_detach(device_t dev)
|
|||||||
struct gpioc_softc *sc = device_get_softc(dev);
|
struct gpioc_softc *sc = device_get_softc(dev);
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
if (sc->sc_ctl_dev);
|
if (sc->sc_ctl_dev)
|
||||||
destroy_dev(sc->sc_ctl_dev);
|
destroy_dev(sc->sc_ctl_dev);
|
||||||
|
|
||||||
if ((err = bus_generic_detach(dev)) != 0)
|
if ((err = bus_generic_detach(dev)) != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user