diff options
author | 2002-07-25 02:18:10 +0000 | |
---|---|---|
committer | 2002-07-25 02:18:10 +0000 | |
commit | b95536641db67bf15b3fac9b1d0826c297bf8ebf (patch) | |
tree | 93cf3bb711e2edeeb6a82969b5f4f84c38ea99ba /sys/dev/usb/ugen.c | |
parent | Modify lvalue only once between sequence points. ok deraadt@ (diff) | |
download | wireguard-openbsd-b95536641db67bf15b3fac9b1d0826c297bf8ebf.tar.xz wireguard-openbsd-b95536641db67bf15b3fac9b1d0826c297bf8ebf.zip |
get rid of trailing whitespace
Diffstat (limited to 'sys/dev/usb/ugen.c')
-rw-r--r-- | sys/dev/usb/ugen.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index fffb0c2ee9b..2185251c785 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ugen.c,v 1.23 2002/07/10 21:41:50 mickey Exp $ */ +/* $OpenBSD: ugen.c,v 1.24 2002/07/25 02:18:10 nate Exp $ */ /* $NetBSD: ugen.c,v 1.58 2002/02/20 20:30:12 christos Exp $ */ /* $FreeBSD: src/sys/dev/usb/ugen.c,v 1.26 1999/11/17 22:33:41 n_hibma Exp $ */ @@ -191,7 +191,7 @@ USB_ATTACH(ugen) char devinfo[1024]; usbd_status err; int conf; - + usbd_devinfo(uaa->device, 0, devinfo); USB_ATTACH_SETUP; printf("%s: %s\n", USBDEVNAME(sc->sc_dev), devinfo); @@ -464,7 +464,7 @@ ugenclose(dev_t dev, int flag, int mode, usb_proc_ptr p) continue; DPRINTFN(5, ("ugenclose: endpt=%d dir=%d sce=%p\n", endpt, dir, sce)); - + usbd_abort_pipe(sce->pipeh); usbd_close_pipe(sce->pipeh); sce->pipeh = NULL; @@ -628,7 +628,7 @@ ugen_do_read(struct ugen_softc *sc, int endpt, struct uio *uio, int flag) splx(s); break; - + default: return (ENXIO); } @@ -825,7 +825,7 @@ ugenintr(usbd_xfer_handle xfer, usbd_private_handle addr, usbd_status status) ibuf[0], ibuf[1], ibuf[2])); (void)b_to_q(ibuf, count, &sce->q); - + if (sce->state & UGEN_ASLP) { sce->state &= ~UGEN_ASLP; DPRINTFN(5, ("ugen_intr: waking %p\n", sce)); @@ -910,7 +910,7 @@ ugen_set_interface(struct ugen_softc *sc, int ifaceidx, int altno) return (err); if (ifaceidx < 0 || ifaceidx >= niface) return (USBD_INVAL); - + err = usbd_device2interface_handle(sc->sc_udev, ifaceidx, &iface); if (err) return (err); @@ -1034,7 +1034,7 @@ ugen_do_ioctl(struct ugen_softc *sc, int endpt, u_long cmd, return (0); case USB_SET_TIMEOUT: sce = &sc->sc_endpoints[endpt][IN]; - if (sce == NULL + if (sce == NULL /* XXX this shouldn't happen, but the distinction between input and output pipes isn't clear enough. || sce->pipeh == NULL */ |