From b24db4ddd9b4709cd1fc6fd34ee629f52675b5e3 Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Sat, 21 Sep 2002 14:48:07 +0000 Subject: [PATCH] remove unused code. --- sys/dev/firewire/sbp.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c index 931af4bd7d5..b143be5cc88 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);