[ELF] - Removed excessive check. NFC.

Thanks to Rui Ueyama who noticed that.

llvm-svn: 277062
This commit is contained in:
George Rimar 2016-07-28 22:15:44 +00:00
parent 01f6997aa1
commit f586ff7ec9
1 changed files with 1 additions and 1 deletions

View File

@ -747,7 +747,7 @@ void ScriptParser::readOutputSectionDescription(StringRef OutSec) {
expect("{");
while (!Error && !skip("}")) {
if ((!peek().empty() && peek().startswith("*")) || peek() == "KEEP") {
if (peek().startswith("*") || peek() == "KEEP") {
Cmd->Commands.push_back(readInputSectionDescription());
continue;
}