]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: lustre: libcfs: discard LASSERT_CHECKED
authorNeilBrown <neilb@suse.com>
Wed, 13 Dec 2017 03:15:55 +0000 (14:15 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2017 11:32:13 +0000 (12:32 +0100)
This macro isn't used, and comment is about some earlier version
of the lustre code that never reached the mainline kernel.
Just discard it.

Signed-off-by: NeilBrown <neilb@suse.com>
Acked-by: Luis de Bethencourt <luisbg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_private.h

index 31403667be6b65ee8d488429aaaaa6db03a53331..940200ee632e09395414bab07cd37bc158754a6b 100644 (file)
 # define DEBUG_SUBSYSTEM S_UNDEFINED
 #endif
 
-/*
- * When this is on, LASSERT macro includes check for assignment used instead
- * of equality check, but doesn't have unlikely(). Turn this on from time to
- * time to make test-builds. This shouldn't be on for production release.
- */
-#define LASSERT_CHECKED (0)
-
 #define LASSERTF(cond, fmt, ...)                                       \
 do {                                                                   \
        if (unlikely(!(cond))) {                                        \