From 5065a91152dd8199aa724a1a5453c76271d955a6 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 25 Oct 2004 07:40:54 +0000 Subject: Retire si_stripesize and si_stripeoffset they will not be needed in cdev in the future. --- sys/geom/geom_dev.c | 2 -- sys/sys/conf.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'sys') 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; -- cgit v1.1