Retire si_stripesize and si_stripeoffset they will not be needed in cdev
in the future.
This commit is contained in:
parent
a50b705403
commit
f8fe7a735c
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user