]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging/lustre: Drop SLAB_DESTROY_BY_RCU redefine, it's always defined
authorOleg Drokin <green@linuxhacker.ru>
Thu, 30 Jul 2015 22:27:55 +0000 (18:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2015 23:01:42 +0000 (16:01 -0700)
SLAB_DESTROY_BY_RCU is always defined in kernel slab.h, so
no point in checking for it.

Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/linux/lustre_compat25.h

index 1a6b2fb5da862c210cb4ccfbd1802d23bd91282b..38eda2391182556d925cb3e3873f3b6a9afd19aa 100644 (file)
 # define inode_dio_read(i)             atomic_inc(&(i)->i_dio_count)
 /* inode_dio_done(i) use as-is for read unlock */
 
-#ifndef SLAB_DESTROY_BY_RCU
-#define SLAB_DESTROY_BY_RCU 0
-#endif
-
-
-
 static inline int
 ll_quota_on(struct super_block *sb, int off, int ver, char *name, int remount)
 {