aboutsummaryrefslogtreecommitdiffstats
path: root/lib/raid6/algos.c
diff options
context:
space:
mode:
authorGiulio Benetti <[email protected]>2022-10-19 16:04:07 +0000
committerSong Liu <[email protected]>2022-11-14 17:35:50 +0000
commit42271ca389edb0446b9e492858b4c38083b0b9f8 (patch)
tree6af0211c50ffa75dcf3bb59748666ddeb233b8ee /lib/raid6/algos.c
parentraid5-cache: use try_cmpxchg in r5l_wake_reclaim (diff)
downloadkernel-42271ca389edb0446b9e492858b4c38083b0b9f8.tar.gz
kernel-42271ca389edb0446b9e492858b4c38083b0b9f8.zip
lib/raid6: drop RAID6_USE_EMPTY_ZERO_PAGE
RAID6_USE_EMPTY_ZERO_PAGE is unused and hardcoded to 0, so let's drop it. Signed-off-by: Giulio Benetti <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'lib/raid6/algos.c')
-rw-r--r--lib/raid6/algos.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c
index 39b74221f4a7..a22a05c9af8a 100644
--- a/lib/raid6/algos.c
+++ b/lib/raid6/algos.c
@@ -18,12 +18,10 @@
#else
#include <linux/module.h>
#include <linux/gfp.h>
-#if !RAID6_USE_EMPTY_ZERO_PAGE
/* In .bss so it's zeroed */
const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(256)));
EXPORT_SYMBOL(raid6_empty_zero_page);
#endif
-#endif
struct raid6_calls raid6_call;
EXPORT_SYMBOL_GPL(raid6_call);