kernel - remove spin_lock_rd() and spin_unlock_rd()
[dragonfly.git] / sys / kern / kern_ktr.c
index 7b65515..d0748f3 100644 (file)
@@ -288,12 +288,6 @@ ktr_resync_callback(void *dummy __unused)
                        spin_unlock_wr(&spin);
                }
                logtest_noargs(spin_end);
-               logtest_noargs(spin_beg);
-               for (count = ktr_testspincnt; count; --count) {
-                       spin_lock_rd(&spin);
-                       spin_unlock_rd(&spin);
-               }
-               logtest_noargs(spin_end);
                ktr_testspincnt = 0;
        }
 #endif