[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxenguest: Remove unused static inline function is_loadable_phdr()



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1251904505 -3600
# Node ID 52fd5baad59330b28e07b43de18d28206a9e63aa
# Parent  417161cd253158f8863d6138773ca13d8e621e58
libxenguest: Remove unused static inline function is_loadable_phdr()

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 tools/libxc/xc_hvm_build.c |    6 ------
 1 files changed, 6 deletions(-)

diff -r 417161cd2531 -r 52fd5baad593 tools/libxc/xc_hvm_build.c
--- a/tools/libxc/xc_hvm_build.c        Wed Sep 02 16:12:41 2009 +0100
+++ b/tools/libxc/xc_hvm_build.c        Wed Sep 02 16:15:05 2009 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.