]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Removed duplicate call to rw_remap.
authorTom Hughes <tom@compton.nu>
Sun, 27 Jun 2004 13:26:44 +0000 (13:26 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 27 Jun 2004 13:26:44 +0000 (13:26 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2445

coregrind/vg_libpthread.c

index c3742a34245bad4f296e873ebc6f7c6bc54abb31..32a035a730a27392e7d5feba28c25fad3c767c7a 100644 (file)
@@ -3160,7 +3160,6 @@ int pthread_rwlock_unlock ( pthread_rwlock_t* orig )
    vg_rwlock_t* rwl;
    if (0) printf ("pthread_rwlock_unlock\n");
    rwl = rw_remap ( orig );
-   rwl = rw_remap ( orig );
    res = __pthread_mutex_lock(&rwl->mx);
    my_assert(res == 0);
    if (!rwl->initted) {