From 003a310f5fc7d7da6e49993c4cca3fcc26db79f6 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sat, 15 Jan 2000 07:06:44 +0000 Subject: [PATCH] Remove compile warning not seen when compiling with target mode enabled. --- sys/dev/isp/isp_pci.c | 2 ++ sys/pci/isp_pci.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index d2d1aad4841a..bd8fc095bda3 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -1648,7 +1648,9 @@ isp_pci_dmasetup(struct ispsoftc *isp, struct ccb_scsiio *csio, ispreq_t *rq, (*eptr)(mp, segs, csio->sglist_cnt, 0); } } +#ifdef ISP_TARGET_MODE exit: +#endif if (mp->error) { int retval = CMD_COMPLETE; if (mp->error == MUSHERR_NOQENTRIES) { diff --git a/sys/pci/isp_pci.c b/sys/pci/isp_pci.c index d2d1aad4841a..bd8fc095bda3 100644 --- a/sys/pci/isp_pci.c +++ b/sys/pci/isp_pci.c @@ -1648,7 +1648,9 @@ isp_pci_dmasetup(struct ispsoftc *isp, struct ccb_scsiio *csio, ispreq_t *rq, (*eptr)(mp, segs, csio->sglist_cnt, 0); } } +#ifdef ISP_TARGET_MODE exit: +#endif if (mp->error) { int retval = CMD_COMPLETE; if (mp->error == MUSHERR_NOQENTRIES) {