Retire si_stripesize and si_stripeoffset they will not be needed in cdev

in the future.
This commit is contained in:
Poul-Henning Kamp 2004-10-25 07:40:54 +00:00
parent a50b705403
commit f8fe7a735c
2 changed files with 0 additions and 4 deletions

View File

@ -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;

View File

@ -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;