]> err.no Git - linux-2.6/blobdiff - fs/xfs/support/ktrace.c
[XFS] Remove spin.h
[linux-2.6] / fs / xfs / support / ktrace.c
index 5cf2e86caa7198653b37f086bf02335d2599fad6..119611ec21d3e07c6329e8ad5a52c20d3817e3e2 100644 (file)
@@ -90,8 +90,6 @@ ktrace_alloc(int nentries, unsigned int __nocast sleep)
                return NULL;
        }
 
-       spinlock_init(&(ktp->kt_lock), "kt_lock");
-
        ktp->kt_entries  = ktep;
        ktp->kt_nentries = nentries;
        ktp->kt_index    = 0;
@@ -114,8 +112,6 @@ ktrace_free(ktrace_t *ktp)
        if (ktp == (ktrace_t *)NULL)
                return;
 
-       spinlock_destroy(&ktp->kt_lock);
-
        /*
         * Special treatment for the Vnode trace buffer.
         */