Remove unused variable.
Test: Builds with -Wunused-variable
Change-Id: I095012f367fa86e6683e73c93d7167b875366178
diff --git a/linker/linker_phdr_16kib_compat.cpp b/linker/linker_phdr_16kib_compat.cpp
index e084635..a4d8459 100644
--- a/linker/linker_phdr_16kib_compat.cpp
+++ b/linker/linker_phdr_16kib_compat.cpp
@@ -223,8 +223,6 @@
// the zip offset must be added to find the segment offset.
const ElfW(Addr) offset = file_offset_ + align_down(phdr->p_offset, kCompatPageSize);
- int prot = PFLAGS_TO_PROT(phdr->p_flags);
-
CHECK(should_use_16kib_app_compat_);
// Since the 4KiB max-page-size ELF is not properly aligned, loading it by