]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Removed unused round_Addr_upwards function.
authorTom Hughes <tom@compton.nu>
Thu, 22 Jan 2009 13:44:03 +0000 (13:44 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 22 Jan 2009 13:44:03 +0000 (13:44 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9022

coregrind/m_debuginfo/readelf.c

index 9d5a6444293b22e40f358b12b80fc33a2f25ee19..57a8bde1f2dad992fe8d0cf741a3878a16e1be0f 100644 (file)
@@ -956,15 +956,6 @@ static void* INDEX_BIS ( void* base, Word idx, Word scale ) {
    return (void*)( ((UChar*)base) + idx * scale );
 }
 
-static Addr round_Addr_upwards ( Addr a, UInt align ) 
-{
-   if (align > 0) {
-      vg_assert(-1 != VG_(log2)(align));
-      a = VG_ROUNDUP(a, align);
-   }
-   return a;
-}
-
 
 /* Find the file offset corresponding to SVMA by using the program
    headers.  This is taken from binutils-2.17/binutils/readelf.c