summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2002-09-21 14:48:07 +0000
committersimokawa <simokawa@FreeBSD.org>2002-09-21 14:48:07 +0000
commitf47d65ab2de26ad23651b6c2e98611b8c457d7ce (patch)
tree25c75bfd6a7c0d6223a4e0793d45fc208265a677 /sys
parent492a050fa2ce646f7206cd6b39ff719291cf0e38 (diff)
downloadFreeBSD-src-f47d65ab2de26ad23651b6c2e98611b8c457d7ce.zip
FreeBSD-src-f47d65ab2de26ad23651b6c2e98611b8c457d7ce.tar.gz
remove unused code.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/firewire/sbp.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index 931af4b..b143be5 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -305,21 +305,6 @@ static void sbp_mgm_orb __P((struct sbp_dev *, int));
MALLOC_DEFINE(M_SBP, "sbp", "SBP-II/Firewire");
-#define SBPPRI ((PZERO+8)|PCATCH)
-
-#define FOREACH_SDEV(tsdev, targets) \
- tsdev = NULL; \
- for (i = 0; i < SBP_NUM_TARGETS; i++) { \
- if (targets[i].fwdev == NULL) \
- continue; \
- for (j = 0; j < targets[i].num_lun; j++) { \
- tsdev = &targets[i].luns[j]; \
- if (tsdev->status == SBP_DEV_DEAD) \
- continue;
-#define FOREACH_SDEV_END \
- } \
- }
-
/* cam related functions */
static void sbp_action(struct cam_sim *sim, union ccb *ccb);
static void sbp_poll(struct cam_sim *sim);
OpenPOWER on IntegriCloud