From f8fe7a735c0d30bf068f14484140f198cfbcb3d4 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 25 Oct 2004 07:40:54 +0000 Subject: [PATCH] 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(-) diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c index 8b448826c3d..4b92df318a4 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 1a0dcea4cda..959678f89e0 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;