aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/libelf
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-02 09:53:13 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-02 09:53:13 +0100
commit9ce0c8557873af4936b3507bc9290ce5c0299baa (patch)
treecbb5d2f6fa3d80e5167e0aaa7091e28987ca131a /xen/common/libelf
parent5948ff2669529cf5fbd28f65f52f055d37fbca82 (diff)
downloadxen-9ce0c8557873af4936b3507bc9290ce5c0299baa.tar.gz
xen-9ce0c8557873af4936b3507bc9290ce5c0299baa.tar.bz2
xen-9ce0c8557873af4936b3507bc9290ce5c0299baa.zip
libelf: Remove unneeded extra elf_set_verbose() invocation.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/libelf')
-rw-r--r--xen/common/libelf/libelf-loader.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xen/common/libelf/libelf-loader.c b/xen/common/libelf/libelf-loader.c
index bfb3cab57b..21e44be848 100644
--- a/xen/common/libelf/libelf-loader.c
+++ b/xen/common/libelf/libelf-loader.c
@@ -26,10 +26,6 @@ int elf_init(struct elf_binary *elf, const char *image, size_t size)
elf->class = elf->ehdr->e32.e_ident[EI_CLASS];
elf->data = elf->ehdr->e32.e_ident[EI_DATA];
-#ifdef VERBOSE
- elf_set_verbose(elf);
-#endif
-
/* Sanity check phdr. */
offset = elf_uval(elf, elf->ehdr, e_phoff) +
elf_uval(elf, elf->ehdr, e_phentsize) * elf_phdr_count(elf);