Remove unnecessary calls to LinkedList::clear()

Change-Id: I981d2700cb17322c634b751715543fd33ee49b7c
This commit is contained in:
Dmitriy Ivanov 2014-08-26 15:56:31 -07:00
parent d2bd3c4717
commit 608217e167
1 changed files with 0 additions and 4 deletions

View File

@ -639,8 +639,6 @@ ElfW(Sym)* dlsym_handle_lookup(soinfo* si, soinfo** found, const char* name) {
if (result != nullptr) {
*found = current_soinfo;
visit_list.clear();
visited.clear();
return result;
}
visited.push_back(current_soinfo);
@ -650,8 +648,6 @@ ElfW(Sym)* dlsym_handle_lookup(soinfo* si, soinfo** found, const char* name) {
});
}
visit_list.clear();
visited.clear();
return nullptr;
}