Remove extra semicolon which rendered condition useless

Submitted by:	Stefan Farfelder <stefanf@FreeBSD.org>
This commit is contained in:
Oleksandr Tymoshenko 2012-04-02 00:11:26 +00:00
parent e506e182dd
commit 6de0a4fa84

View File

@ -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)