summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-03 05:57:35 +0000
committerphk <phk@FreeBSD.org>2003-01-03 05:57:35 +0000
commit00ede7aab1a3912008308e8dc9863323870901f1 (patch)
tree7c30270f60a33aae5bf8aa118731948cb5e31d9f /sys/dev/vinum
parented9a027a4af44624e146aba2ff4c73032ea9e9ad (diff)
downloadFreeBSD-src-00ede7aab1a3912008308e8dc9863323870901f1.zip
FreeBSD-src-00ede7aab1a3912008308e8dc9863323870901f1.tar.gz
Remove unused second argument from DEV_STRATEGY().
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r--sys/dev/vinum/vinumdaemon.c2
-rw-r--r--sys/dev/vinum/vinuminterrupt.c4
-rw-r--r--sys/dev/vinum/vinumio.c4
-rw-r--r--sys/dev/vinum/vinumrequest.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/vinum/vinumdaemon.c b/sys/dev/vinum/vinumdaemon.c
index 16036e8..a98977e 100644
--- a/sys/dev/vinum/vinumdaemon.c
+++ b/sys/dev/vinum/vinumdaemon.c
@@ -210,7 +210,7 @@ recover_io(struct request *rq)
*
* Negotiate with phk to get it fixed.
*/
- DEV_STRATEGY(rq->bp, 0); /* reissue the command */
+ DEV_STRATEGY(rq->bp); /* reissue the command */
}
/* Functions called to interface with the daemon */
diff --git a/sys/dev/vinum/vinuminterrupt.c b/sys/dev/vinum/vinuminterrupt.c
index fdefee4..8d72579 100644
--- a/sys/dev/vinum/vinuminterrupt.c
+++ b/sys/dev/vinum/vinuminterrupt.c
@@ -420,7 +420,7 @@ complete_raid5_write(struct rqelement *rqe)
if (debug & DEBUG_LASTREQS)
logrq(loginfo_raid5_data, (union rqinfou) rqe, ubp);
#endif
- DEV_STRATEGY(&rqe->b, 0);
+ DEV_STRATEGY(&rqe->b);
}
}
}
@@ -459,7 +459,7 @@ complete_raid5_write(struct rqelement *rqe)
if (debug & DEBUG_LASTREQS)
logrq(loginfo_raid5_parity, (union rqinfou) rqe, ubp);
#endif
- DEV_STRATEGY(&rqe->b, 0);
+ DEV_STRATEGY(&rqe->b);
}
/* Local Variables: */
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c
index 612f5ed..0aef397 100644
--- a/sys/dev/vinum/vinumio.c
+++ b/sys/dev/vinum/vinumio.c
@@ -281,7 +281,7 @@ driveio(struct drive *drive, char *buf, size_t length, off_t offset, int flag)
bp->b_saveaddr = bp->b_data;
bp->b_data = buf;
bp->b_bcount = len;
- DEV_STRATEGY(bp, 0); /* initiate the transfer */
+ DEV_STRATEGY(bp); /* initiate the transfer */
error = bufwait(bp);
bp->b_data = bp->b_saveaddr;
bp->b_flags |= B_INVAL | B_AGE;
@@ -758,7 +758,7 @@ write_volume_label(int volno)
*
* Negotiate with phk to get it fixed.
*/
- DEV_STRATEGY(bp, 0);
+ DEV_STRATEGY(bp);
error = bufwait(bp);
bp->b_flags |= B_INVAL | B_AGE;
bp->b_ioflags &= ~BIO_ERROR;
diff --git a/sys/dev/vinum/vinumrequest.c b/sys/dev/vinum/vinumrequest.c
index 56086a4..8423ed2 100644
--- a/sys/dev/vinum/vinumrequest.c
+++ b/sys/dev/vinum/vinumrequest.c
@@ -439,7 +439,7 @@ launch_requests(struct request *rq, int reviveok)
logrq(loginfo_rqe, (union rqinfou) rqe, rq->bp);
#endif
/* fire off the request */
- DEV_STRATEGY(&rqe->b, 0);
+ DEV_STRATEGY(&rqe->b);
}
}
}
@@ -983,7 +983,7 @@ sdio(struct buf *bp)
if (debug & DEBUG_LASTREQS)
logrq(loginfo_sdiol, (union rqinfou) &sbp->b, &sbp->b);
#endif
- DEV_STRATEGY(&sbp->b, 0);
+ DEV_STRATEGY(&sbp->b);
splx(s);
}
OpenPOWER on IntegriCloud