diff options
author | phk <phk@FreeBSD.org> | 2004-10-25 07:40:54 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-10-25 07:40:54 +0000 |
commit | 5065a91152dd8199aa724a1a5453c76271d955a6 (patch) | |
tree | 6cdea458a9b65ffdc9547b0544a99701a3dc2ba8 /sys | |
parent | c0959741f797bce5d58c6f799b3bc39a4905b2ca (diff) | |
download | FreeBSD-src-5065a91152dd8199aa724a1a5453c76271d955a6.zip FreeBSD-src-5065a91152dd8199aa724a1a5453c76271d955a6.tar.gz |
Retire si_stripesize and si_stripeoffset they will not be needed in cdev
in the future.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/geom/geom_dev.c | 2 | ||||
-rw-r--r-- | sys/sys/conf.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c index 8b44882..4b92df3 100644 --- a/sys/geom/geom_dev.c +++ b/sys/geom/geom_dev.c @@ -142,8 +142,6 @@ g_dev_taste(struct g_class *mp, struct g_provider *pp, int insist __unused) mtx_unlock(&Giant); g_topology_lock(); dev->si_iosize_max = MAXPHYS; - dev->si_stripesize = pp->stripesize; - dev->si_stripeoffset = pp->stripeoffset; gp->softc = dev; dev->si_drv1 = gp; dev->si_drv2 = cp; diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 1a0dcea..959678f 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -81,8 +81,6 @@ struct cdev { void *si_drv1, *si_drv2; struct cdevsw *si_devsw; int si_iosize_max; /* maximum I/O size (for physio &al) */ - u_int si_stripesize; - u_int si_stripeoffset; uid_t si_uid; gid_t si_gid; mode_t si_mode; |