diff options
author | ru <ru@FreeBSD.org> | 2005-12-04 02:12:43 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-12-04 02:12:43 +0000 |
commit | 522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3 (patch) | |
tree | f3ce65232b57836f87c8dc38dfcc8fbb95679c5d /sys/dev/mpt/mpt_raid.c | |
parent | 7b7fd248389b497235a0e9dcef2aff317880a15b (diff) | |
download | FreeBSD-src-522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3.zip FreeBSD-src-522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3.tar.gz |
Fix -Wundef.
Diffstat (limited to 'sys/dev/mpt/mpt_raid.c')
-rw-r--r-- | sys/dev/mpt/mpt_raid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mpt/mpt_raid.c b/sys/dev/mpt/mpt_raid.c index 4395ab3..447423b 100644 --- a/sys/dev/mpt/mpt_raid.c +++ b/sys/dev/mpt/mpt_raid.c @@ -99,7 +99,7 @@ static void mpt_terminate_raid_thread(struct mpt_softc *mpt); static void mpt_raid_thread(void *arg); static timeout_t mpt_raid_timer; static timeout_t mpt_raid_quiesce_timeout; -#if UNUSED +#if 0 static void mpt_enable_vol(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol, int enable); #endif @@ -482,7 +482,7 @@ mpt_raid_reply_handler(struct mpt_softc *mpt, request_t *req, free_req = TRUE; if (reply_frame != NULL) free_req = mpt_raid_reply_frame_handler(mpt, req, reply_frame); -#if NOTYET +#ifdef NOTYET else if (req->ccb != NULL) { /* Complete Quiesce CCB with error... */ } @@ -769,7 +769,7 @@ mpt_map_physdisk(struct mpt_softc *mpt, union ccb *ccb, u_int *tgt) return (-1); } -#if UNUSED +#if 0 static void mpt_enable_vol(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol, int enable) |