Add missing curly braces.
Approved by: rwatson (mentor)
This commit is contained in:
parent
c9960ef732
commit
3f054080e6
@ -511,9 +511,10 @@ kue_detach(device_t dev)
|
||||
|
||||
sc->kue_dying = 1;
|
||||
|
||||
if (ifp != NULL)
|
||||
if (ifp != NULL) {
|
||||
ether_ifdetach(ifp);
|
||||
if_free(ifp);
|
||||
}
|
||||
|
||||
if (sc->kue_ep[KUE_ENDPT_TX] != NULL)
|
||||
usbd_abort_pipe(sc->kue_ep[KUE_ENDPT_TX]);
|
||||
|
Loading…
Reference in New Issue
Block a user