diff options
author | Alan Modra <amodra@gmail.com> | 2025-01-06 22:42:10 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-01-07 11:12:04 +1030 |
commit | f9796f310636d8ed944a2e3f421357ffb9286a06 (patch) | |
tree | 246031c8321b42f037dace3ee85ab859747ca1e0 | |
parent | d4efbce75f1f98db0837f3791a65d9cb433f7861 (diff) | |
download | binutils-f9796f310636d8ed944a2e3f421357ffb9286a06.zip binutils-f9796f310636d8ed944a2e3f421357ffb9286a06.tar.gz binutils-f9796f310636d8ed944a2e3f421357ffb9286a06.tar.bz2 |
Remove dead code in bfd_check_format_matches
Commit cb001c0d283d made code added in 64bfc2584c01 dead. Remove it.
-rw-r--r-- | bfd/format.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/format.c b/bfd/format.c index d007758..1258159 100644 --- a/bfd/format.c +++ b/bfd/format.c @@ -535,14 +535,6 @@ bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching) if (cleanup) { int match_priority = abfd->xvec->match_priority; -#if BFD_SUPPORTS_PLUGINS - /* If this object can be handled by a plugin, give that the - lowest priority; objects both handled by a plugin and - with an underlying object format will be claimed - separately by the plugin. */ - if (*target == &plugin_vec) - match_priority = (*target)->match_priority; -#endif if (abfd->format != bfd_archive || (bfd_has_map (abfd) |