aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-04-11 21:09:41 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-04-11 21:09:41 +0000
commit3aa68913bc94bdb98a9974ee8fd9d907e255a150 (patch)
tree95f89d97fd63960783901cf67db1ebe8444118e5 /sys/dev
parentb106d2f56a4b4461d660f74f282b8b73fe9b71dc (diff)
Notes
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 4a4df6a478b4..fbb985dcfd72 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);