Remove unused variables
Jenkins presubmit fails for all commits right now due to certain unused
variables. This commit aims to pass presubmit without regressing
functionality.
Tested: Presubmit passes
Change-Id: Ifdc7081b1154ce3ac2f3ab0828429660db35360a
Signed-off-by: Edward Lee <edwarddl@google.com>
diff --git a/src/pci_handler.cpp b/src/pci_handler.cpp
index b3e25bd..9ccb550 100644
--- a/src/pci_handler.cpp
+++ b/src/pci_handler.cpp
@@ -17,8 +17,8 @@
PciDataHandler::PciDataHandler(uint32_t regionAddress, size_t regionSize,
std::unique_ptr<stdplus::fd::Fd> fd) :
- regionAddress(regionAddress),
- regionSize(regionSize), fd(std::move(fd)),
+ regionSize(regionSize),
+ fd(std::move(fd)),
mmap(stdplus::fd::MMap(
*this->fd, regionSize, stdplus::fd::ProtFlags{PROT_READ | PROT_WRITE},
stdplus::fd::MMapFlags{stdplus::fd::MMapAccess::Shared}, regionAddress))