iosched: Move bio_next() inside of the CAM_IOSCHED_DYNAMIC ifdef
bio_next() is only used by the dynamic scheduler, so move it under that ifdef. Sponsored by: Netflix
This commit is contained in:
parent
47d75c29f5
commit
1599fc904d
@ -1505,6 +1505,7 @@ cam_iosched_get_trim(struct cam_iosched_softc *isc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef CAM_IOSCHED_DYNAMIC
|
||||||
static struct bio *
|
static struct bio *
|
||||||
bio_next(struct bio *bp)
|
bio_next(struct bio *bp)
|
||||||
{
|
{
|
||||||
@ -1518,7 +1519,6 @@ bio_next(struct bio *bp)
|
|||||||
return bp;
|
return bp;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CAM_IOSCHED_DYNAMIC
|
|
||||||
static bool
|
static bool
|
||||||
cam_iosched_rate_limited(struct iop_stats *ios)
|
cam_iosched_rate_limited(struct iop_stats *ios)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user