Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1260820

[PATCH v2 2/7] staging: lustre: remove obsolete comment in libcfs_hash.h

From James Simmons <jsimmons@infradead.org>
Newsgroups linux.kernel
Subject [PATCH v2 2/7] staging: lustre: remove obsolete comment in libcfs_hash.h
Date 2015-11-02 18:30 +0100
Message-ID <qqr5F-871-21@gated-at.bofh.it> (permalink)
References <qqr5E-871-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Remove comment hash_long which was removed long ago.

Signed-off-by: James Simmons <jsimmons@infradead.org>
---
 .../lustre/include/linux/libcfs/libcfs_hash.h      |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h
index 4d73f8a..4a78e6d 100644
--- a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h
+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h
@@ -56,13 +56,6 @@
 /*  2^63 + 2^61 - 2^57 + 2^54 - 2^51 - 2^18 + 1 */
 #define CFS_GOLDEN_RATIO_PRIME_64 0x9e37fffffffc0001ULL
 
-/*
- * Ideally we would use HAVE_HASH_LONG for this, but on linux we configure
- * the linux kernel and user space at the same time, so we need to differentiate
- * between them explicitly. If this is not needed on other architectures, then
- * we'll need to move the functions to architecture specific headers.
- */
-
 #include <linux/hash.h>
 
 /** disable debug */
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/7] staging: lustre: second series for libcfs hash code cleanup James Simmons <jsimmons@infradead.org> - 2015-11-02 18:30 +0100
  [PATCH v2 2/7] staging: lustre: remove obsolete comment in libcfs_hash.h James Simmons <jsimmons@infradead.org> - 2015-11-02 18:30 +0100
  [PATCH v2 5/7] staging: lustre: handle NULL comparisons correctly for libcfs_hash.h James Simmons <jsimmons@infradead.org> - 2015-11-02 18:30 +0100
  [PATCH v2 1/7] staging: lustre: remove white space in libcfs_hash.h James Simmons <jsimmons@infradead.org> - 2015-11-02 18:30 +0100
    Re: [PATCH v2 1/7] staging: lustre: remove white space in  libcfs_hash.h Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-11-04 07:00 +0100
      Re: [PATCH v2 1/7] staging: lustre: remove white space in  libcfs_hash.h Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-11-04 12:50 +0100
        RE: [lustre-devel] [PATCH v2 1/7] staging: lustre: remove white space  in libcfs_hash.h "Simmons, James A." <simmonsja@ornl.gov> - 2015-11-04 16:10 +0100
          Re: [lustre-devel] [PATCH v2 1/7] staging: lustre: remove white  space in libcfs_hash.h Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-11-04 18:30 +0100
      RE: [PATCH v2 1/7] staging: lustre: remove white space in  libcfs_hash.h "Simmons, James A." <simmonsja@ornl.gov> - 2015-11-04 16:10 +0100
  [PATCH v2 3/7] staging: lustre: move linux hash.h header to start of libcfs_hash.h James Simmons <jsimmons@infradead.org> - 2015-11-02 18:30 +0100

csiph-web