[BOLT][NFC] Remove redundant assertion (#82056)

processLKSections() used to be a member of RewriteInstance. Since now it
is part of the LinuxKernelRewriter, the assertion is no longer needed.
This commit is contained in:
Maksim Panchenko 2024-02-16 15:37:54 -08:00 committed by GitHub
parent 979c4e9a41
commit 5a82daafc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -221,8 +221,6 @@ void LinuxKernelRewriter::insertLKMarker(uint64_t PC, uint64_t SectionOffset,
}
void LinuxKernelRewriter::processLKSections() {
assert(BC.IsLinuxKernel && "Linux kernel binary expected.");
processLKExTable();
processLKPCIFixup();
processLKKSymtab();