Eliminate unused fields in pciAccRec.
This commit is contained in:
parent
f36a447d20
commit
28976bebec
|
@ -569,9 +569,6 @@ initPciState(void)
|
||||||
pcaccp = xnfalloc( sizeof( pciAccRec ) );
|
pcaccp = xnfalloc( sizeof( pciAccRec ) );
|
||||||
pvp->user_data = (intptr_t) pcaccp;
|
pvp->user_data = (intptr_t) pcaccp;
|
||||||
|
|
||||||
pcaccp->busnum = PCI_MAKE_BUS(pvp->domain, pvp->bus);
|
|
||||||
pcaccp->devnum = pvp->dev;
|
|
||||||
pcaccp->funcnum = pvp->func;
|
|
||||||
pcaccp->arg.dev = pvp;
|
pcaccp->arg.dev = pvp;
|
||||||
pcaccp->ioAccess.AccessDisable = pciIoAccessDisable;
|
pcaccp->ioAccess.AccessDisable = pciIoAccessDisable;
|
||||||
pcaccp->ioAccess.AccessEnable = pciIoAccessEnable;
|
pcaccp->ioAccess.AccessEnable = pciIoAccessEnable;
|
||||||
|
|
|
@ -47,9 +47,6 @@ typedef struct {
|
||||||
} pciArg;
|
} pciArg;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int busnum;
|
|
||||||
int devnum;
|
|
||||||
int funcnum;
|
|
||||||
pciArg arg;
|
pciArg arg;
|
||||||
xf86AccessRec ioAccess;
|
xf86AccessRec ioAccess;
|
||||||
xf86AccessRec io_memAccess;
|
xf86AccessRec io_memAccess;
|
||||||
|
|
Loading…
Reference in New Issue