diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2010-12-31 20:50:15 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2010-12-31 20:50:15 +0000 |
commit | b7aebe1a8d8e2ea02e98c8977ac3030f96da82bc (patch) | |
tree | 6968817fa9d140448b7537709f88511fb5428af4 | |
parent | 542f558588abf2d7ac2fbe1530edcd5c63c69aab (diff) |
grrr... use the same style in the activate functions than in the
surrounding code.
-rw-r--r-- | sys/dev/usb/if_rsu.c | 6 | ||||
-rw-r--r-- | sys/dev/usb/if_urtwn.c | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/dev/usb/if_rsu.c b/sys/dev/usb/if_rsu.c index f7d4ac0bacc..5d62c85c879 100644 --- a/sys/dev/usb/if_rsu.c +++ b/sys/dev/usb/if_rsu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rsu.c,v 1.8 2010/12/27 03:03:50 jakemsr Exp $ */ +/* $OpenBSD: if_rsu.c,v 1.9 2010/12/31 20:50:14 damien Exp $ */ /*- * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr> @@ -374,13 +374,11 @@ rsu_activate(struct device *self, int act) switch (act) { case DVACT_ACTIVATE: break; - case DVACT_DEACTIVATE: usbd_deactivate(sc->sc_udev); break; } - - return 0; + return (0); } int diff --git a/sys/dev/usb/if_urtwn.c b/sys/dev/usb/if_urtwn.c index 8d0e1869fbe..f8468d1067e 100644 --- a/sys/dev/usb/if_urtwn.c +++ b/sys/dev/usb/if_urtwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_urtwn.c,v 1.11 2010/12/27 03:03:50 jakemsr Exp $ */ +/* $OpenBSD: if_urtwn.c,v 1.12 2010/12/31 20:50:14 damien Exp $ */ /*- * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr> @@ -404,13 +404,11 @@ urtwn_activate(struct device *self, int act) switch (act) { case DVACT_ACTIVATE: break; - case DVACT_DEACTIVATE: usbd_deactivate(sc->sc_udev); break; } - - return 0; + return (0); } int |