summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/umass.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/umass.c')
-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