X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_lite.h;h=eddeded16cd57fc087251438b08c06637fc14795;hb=2b44b8b015574645a3bea7219f2dba117e7a5bf6;hp=4a88dd49600a5e56783f4429087cadb4b77ab7e7;hpb=08aa217ce49aba1ded52e0f7adb8a607035123fd;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_lite.h b/lustre/include/lustre_lite.h index 4a88dd4..eddeded 100644 --- a/lustre/include/lustre_lite.h +++ b/lustre/include/lustre_lite.h @@ -53,9 +53,7 @@ #endif #include -#include #include -#include #include /* 4UL * 1024 * 1024 */ @@ -143,15 +141,6 @@ static inline void ll_dir_chain_fini(struct ll_dir_chain *chain) { } -static inline unsigned long hash_x_index(__u64 hash, int hash64) -{ -#ifdef __KERNEL__ - if (BITS_PER_LONG == 32 && hash64) - hash >>= 32; -#endif - return ~0UL - hash; -} - /** @} lite */ #endif