]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cohort_lru: remove #if 0 section
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 1 Feb 2016 17:48:30 +0000 (12:48 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:08:24 +0000 (12:08 -0500)
The declaration being skipped was meant as a placeholder for future
optimization work, moved to a comment.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/common/cohort_lru.h

index 0baa3a25fc8836e9fe84a97a48ee677ed42e55d9..19a5c45ed0f8509cd2bc356502a42c1b5a279ffa 100644 (file)
@@ -94,9 +94,7 @@ namespace cohort {
       struct Lane {
        LK lock;
        Object::Queue q;
-#if 0
-       Object::Queue pinned;
-#endif
+       // Object::Queue pinned; /* placeholder for possible expansion */
        CACHE_PAD(0);
        Lane() {}
       };