summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-04-11 21:09:41 +0000
committerjhb <jhb@FreeBSD.org>2002-04-11 21:09:41 +0000
commite3b656d4d9f6edec92c8dd1c1975b24db580b985 (patch)
tree95f89d97fd63960783901cf67db1ebe8444118e5 /sys/dev
parent9522d33ac942ccfb84dd2da810b0b312a257de4d (diff)
downloadFreeBSD-src-e3b656d4d9f6edec92c8dd1c1975b24db580b985.zip
FreeBSD-src-e3b656d4d9f6edec92c8dd1c1975b24db580b985.tar.gz
Make this compile again when UMASS_DEBUG isn't defined.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/umass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c
index 4a4df6a..fbb985d 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -2103,7 +2103,9 @@ umass_cam_rescan(void *addr)
* is disconnected before umass_cam_rescan has been able to run the
* driver might bomb.
*/
+#ifdef UMASS_DEBUG
struct umass_softc *sc = (struct umass_softc *) addr;
+#endif
struct cam_path *path;
union ccb *ccb = malloc(sizeof(union ccb), M_USBDEV, M_WAITOK);
OpenPOWER on IntegriCloud