diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-11 10:58:22 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-11 10:58:22 +0000 |
commit | 9c004cc2365ad1f8f4d15f93aafe072be63c9933 (patch) | |
tree | 1ee8278f27078e79e93cd7f1025b52a0fa0bd87c /sys/dev/usb/usb.c | |
parent | 63545cda9325b2156532c81096c04f0c47c4566d (diff) |
Remove the definition and use of the USB_GET_SC macro, no binary change.
ok mk.
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r-- | sys/dev/usb/usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index ff47575c85e..0b99e1b9e06 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usb.c,v 1.49 2007/06/11 09:26:55 mk Exp $ */ +/* $OpenBSD: usb.c,v 1.50 2007/06/11 10:58:21 mbalmer Exp $ */ /* $NetBSD: usb.c,v 1.77 2003/01/01 00:10:26 thorpej Exp $ */ /* @@ -464,7 +464,7 @@ usbioctl(dev_t devt, u_long cmd, caddr_t data, int flag, usb_proc_ptr p) } } - USB_GET_SC(usb, unit, sc); + sc = usb_cd.cd_devs[unit]; if (sc->sc_dying) return (EIO); |