[ELF] Delete a redundant assignment to SectionBase::assigned. NFC

LinkerScript::discard marks a section dead. It is unnecessary to set the
`assigned` bit.

llvm-svn: 371804
This commit is contained in:
Fangrui Song 2019-09-13 02:18:04 +00:00
parent f457dd2bd4
commit 51ead00bf8
1 changed files with 0 additions and 1 deletions

View File

@ -457,7 +457,6 @@ void LinkerScript::discard(ArrayRef<InputSection *> v) {
if (s == mainPart->hashTab)
mainPart->hashTab = nullptr;
s->assigned = false;
s->markDead();
discard(s->dependentSections);
}