tools: nuke unused function
PATCH 1/1 tools: nuke unused function
Hi!
Attached patch nukes the unused is_loadable_phdr() function. W/o the 'inline' gcc complains about this.
Signed-off-by Christoph Egger <[email protected]>
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
tools/libxc/xc_hvm_build.c +0 -6
@@ -342,12 +342,6 @@ static int xc_hvm_build_internal(int xc_return setup_guest (xc_handle, domid, memsize, target, image, image_size); } -static inline int is_loadable_phdr (Elf32_Phdr *phdr) -{ -return ((phdr->p_type ==PT_LOAD ) && - ((phdr->p_flags & (PF_W |PF_X )) !=0 )); -} -/* xc_hvm_build: * Create a domain for a virtualized Linux, using files/filenames. */
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel