From 57690041fa15b6b70545f379ddfc84df1791c5b8 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Thu, 21 Jan 2016 16:08:19 +0000
Subject: [PATCH] kernel: clean up redundant SLUB/SLAB related defines for 4.4

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48443
---
 target/linux/mpc85xx/config-4.4           | 2 --
 target/linux/mpc85xx/p1020/config-default | 1 -
 target/linux/sunxi/config-4.4             | 5 -----
 target/linux/x86/64/config-default        | 1 -
 target/linux/x86/config-4.4               | 4 ----
 5 files changed, 13 deletions(-)

diff --git a/target/linux/mpc85xx/config-4.4 b/target/linux/mpc85xx/config-4.4
index a511afd775..5b76ec58ae 100644
--- a/target/linux/mpc85xx/config-4.4
+++ b/target/linux/mpc85xx/config-4.4
@@ -270,8 +270,6 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
 CONFIG_SERIAL_OF_PLATFORM=y
 # CONFIG_SERIAL_QE is not set
 CONFIG_SIMPLE_GPIO=y
-# CONFIG_SLAB is not set
-CONFIG_SLUB=y
 CONFIG_SOCK_DIAG=y
 # CONFIG_SOCRATES is not set
 CONFIG_SPARSE_IRQ=y
diff --git a/target/linux/mpc85xx/p1020/config-default b/target/linux/mpc85xx/p1020/config-default
index 1d15b32b67..8fd795730e 100644
--- a/target/linux/mpc85xx/p1020/config-default
+++ b/target/linux/mpc85xx/p1020/config-default
@@ -11,7 +11,6 @@ CONFIG_RCU_STALL_COMMON=y
 CONFIG_RFS_ACCEL=y
 CONFIG_RPS=y
 CONFIG_RWSEM_SPIN_ON_OWNER=y
-CONFIG_SLUB_CPU_PARTIAL=y
 CONFIG_SMP=y
 CONFIG_TREE_RCU=y
 CONFIG_XPS=y
diff --git a/target/linux/sunxi/config-4.4 b/target/linux/sunxi/config-4.4
index 20cfe7a033..dbefd32636 100644
--- a/target/linux/sunxi/config-4.4
+++ b/target/linux/sunxi/config-4.4
@@ -419,11 +419,6 @@ CONFIG_SERIAL_8250_RUNTIME_UARTS=8
 CONFIG_SERIAL_OF_PLATFORM=y
 CONFIG_SERIO=y
 CONFIG_SERIO_SERPORT=y
-# CONFIG_SLAB is not set
-CONFIG_SLUB=y
-CONFIG_SLUB_CPU_PARTIAL=y
-CONFIG_SLUB_DEBUG=y
-# CONFIG_SLUB_DEBUG_ON is not set
 CONFIG_SMP=y
 CONFIG_SMP_ON_UP=y
 CONFIG_SND=y
diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
index a5947a27a0..0603b6028b 100644
--- a/target/linux/x86/64/config-default
+++ b/target/linux/x86/64/config-default
@@ -173,7 +173,6 @@ CONFIG_SATA_AHCI=y
 # CONFIG_SCIF_BUS is not set
 CONFIG_SCSI_VIRTIO=y
 CONFIG_SERIAL_8250_PNP=y
-CONFIG_SLUB_CPU_PARTIAL=y
 CONFIG_SMP=y
 CONFIG_SPARSEMEM=y
 CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y
diff --git a/target/linux/x86/config-4.4 b/target/linux/x86/config-4.4
index 49a0cfdd7f..f87eba9925 100644
--- a/target/linux/x86/config-4.4
+++ b/target/linux/x86/config-4.4
@@ -357,10 +357,6 @@ CONFIG_SERIO=y
 CONFIG_SERIO_I8042=y
 CONFIG_SERIO_LIBPS2=y
 CONFIG_SERIO_SERPORT=y
-# CONFIG_SLAB is not set
-CONFIG_SLUB=y
-CONFIG_SLUB_DEBUG=y
-# CONFIG_SLUB_DEBUG_ON is not set
 # CONFIG_SMSC37B787_WDT is not set
 # CONFIG_SMSC_SCH311X_WDT is not set
 CONFIG_SPARSEMEM_STATIC=y
-- 
GitLab