diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-10 10:53:50 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-10 10:53:50 +0000 |
commit | ee0f444043f62b1989c63b9419c2e908f6c4793f (patch) | |
tree | 7d1c958fdcad64480efcbfb6f0ea69602208ab47 /sys/dev/usb/usb_port.h | |
parent | ba9346211f99b37c96aa619b9981b230c7b4a61d (diff) |
Remove the definition and use of the USBDEV macro. It only created confusion
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev.
No binary changes.
ok jsg.
Diffstat (limited to 'sys/dev/usb/usb_port.h')
-rw-r--r-- | sys/dev/usb/usb_port.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 0e830f536da..a8aed532b64 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usb_port.h,v 1.75 2007/06/10 10:15:35 mbalmer Exp $ */ +/* $OpenBSD: usb_port.h,v 1.76 2007/06/10 10:53:48 mbalmer Exp $ */ /* $NetBSD: usb_port.h,v 1.62 2003/02/15 18:33:30 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_port.h,v 1.21 1999/11/17 22:33:47 n_hibma Exp $ */ @@ -85,7 +85,6 @@ typedef struct proc *usb_proc_ptr; #define slinear16_to_ulinear8_be linear16_to_ulinear8_be typedef struct device *device_ptr_t; -#define USBDEV(bdev) (&(bdev)) #define USBDEVNAME(bdev) ((bdev).dv_xname) #define USBDEVUNIT(bdev) ((bdev).dv_unit) #define USBDEVPTRNAME(bdevptr) ((bdevptr)->dv_xname) |