summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2007-05-12 05:56:58 +0000
committerbrueffer <brueffer@FreeBSD.org>2007-05-12 05:56:58 +0000
commit732cb0f9fd8f5abb13aebad2b3c1636a8ec39af2 (patch)
tree48a009c7e3f9db9a67a7ca25b2936300fe94f4c2
parent3df1233c919cc68feaa366dc24897154f9a69da2 (diff)
downloadFreeBSD-src-732cb0f9fd8f5abb13aebad2b3c1636a8ec39af2.zip
FreeBSD-src-732cb0f9fd8f5abb13aebad2b3c1636a8ec39af2.tar.gz
Add missing curly braces.
Approved by: rwatson (mentor)
-rw-r--r--sys/dev/usb/if_kue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c
index b4fa8d4..5804e93 100644
--- a/sys/dev/usb/if_kue.c
+++ b/sys/dev/usb/if_kue.c
@@ -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]);
OpenPOWER on IntegriCloud