]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Removed unused function.
authorBart Van Assche <bvanassche@acm.org>
Tue, 25 Mar 2008 17:03:01 +0000 (17:03 +0000)
committerBart Van Assche <bvanassche@acm.org>
Tue, 25 Mar 2008 17:03:01 +0000 (17:03 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7787

exp-drd/drd_bitmap.c
exp-drd/pub_drd_bitmap.h

index 90e7ad5fd2ff76cc0d820b224813d20e7e082f71..62e17edae11dda39287b9484b15845d4b48576fe 100644 (file)
@@ -401,25 +401,6 @@ void bm1_clear(struct bitmap1* const bm1, const Addr a1, const Addr a2)
   bm1->bm0_w[idx] &= ~mask;
 }
 
-void bm_clear_all(const struct bitmap* const bm)
-{
-  struct bitmap2* bm2;
-  struct bitmap2ref* bm2ref;
-
-  VG_(OSetGen_ResetIter)(bm->oset);
-
-  for ( ; (bm2ref = VG_(OSetGen_Next)(bm->oset)) != 0; )
-  {
-    struct bitmap1* bm1;
-
-    bm2 = bm2ref->bm2;
-    bm1 = &bm2->bm1;
-    tl_assert(bm1);
-    VG_(memset)(&bm1->bm0_r[0], 0, sizeof(bm1->bm0_r));
-    VG_(memset)(&bm1->bm0_w[0], 0, sizeof(bm1->bm0_w));
-  }
-}
-
 void bm_clear(const struct bitmap* const bm,
               const Addr a1,
               const Addr a2)
index 611d6b0befc3139c5149ddcd17dede8d62e09ef4..2bbca0aa9f12f7aab070fbb7af4b5f0fecde1387 100644 (file)
@@ -78,7 +78,6 @@ UWord bm_has_any_access(const struct bitmap* const bm,
                         const Addr a1, const Addr a2);
 UWord bm_has_1(const struct bitmap* const bm,
                const Addr address, const BmAccessTypeT access_type);
-void bm_clear_all(const struct bitmap* const bm);
 void bm_clear(const struct bitmap* const bm,
               const Addr a1, const Addr a2);
 Bool bm_has_conflict_with(const struct bitmap* const bm,