diff options
author | Kevin Brace <kevinbrace@gmx.com> | 2018-12-25 08:30:08 -0600 |
---|---|---|
committer | Kevin Brace <kevinbrace@gmx.com> | 2018-12-25 08:30:08 -0600 |
commit | 1069d52aa49e5e32e3371399bc97b9b7e4873df7 (patch) | |
tree | 76966b5ab26f3891bb6deb9ced8703b7c2af078b | |
parent | d1139bd2febe5282cb2ac8887ec944470921d04c (diff) |
Eliminate unused variable compilation warning
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
-rw-r--r-- | src/cir_driver.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cir_driver.c b/src/cir_driver.c index bbd8bbc..fce2fac 100644 --- a/src/cir_driver.c +++ b/src/cir_driver.c @@ -271,8 +271,6 @@ CIRProbe(DriverPtr drv, int flags) _X_EXPORT Bool CirMapMem(CirPtr pCir, int scrnIndex) { - int mmioFlags; - #ifdef CIR_DEBUG ErrorF("CirMapMem\n"); #endif @@ -316,7 +314,6 @@ CirMapMem(CirPtr pCir, int scrnIndex) } else { #ifndef XSERVER_LIBPCIACCESS - mmioFlags = VIDMEM_MMIO; /* * For Alpha, we need to map SPARSE memory, since we need * byte/short access. Common-level will automatically use @@ -324,7 +321,7 @@ CirMapMem(CirPtr pCir, int scrnIndex) */ pCir->IOBase = - xf86MapPciMem(scrnIndex, mmioFlags, pCir->PciTag, + xf86MapPciMem(scrnIndex, VIDMEM_MMIO, pCir->PciTag, pCir->IOAddress, pCir->IoMapSize); if (pCir->IOBase == NULL) return FALSE; |