summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxlflash/main.h
diff options
context:
space:
mode:
authorAndrew Donnellan2016-07-18 06:52:57 +0200
committerMichael Ellerman2016-07-19 12:12:29 +0200
commit1e44727a0b220f6ead12fefcff997354be0f0f02 (patch)
tree2081d3a04ff26b197d0bc628ffdaac44d49b16d9 /drivers/scsi/cxlflash/main.h
parentpowerpc/powernv: Fix pci-cxl.c build when CONFIG_MODULES=n (diff)
downloadkernel-qcow2-linux-1e44727a0b220f6ead12fefcff997354be0f0f02.tar.gz
kernel-qcow2-linux-1e44727a0b220f6ead12fefcff997354be0f0f02.tar.xz
kernel-qcow2-linux-1e44727a0b220f6ead12fefcff997354be0f0f02.zip
cxl: remove dead Kconfig options
Remove the CXL_KERNEL_API and CXL_EEH Kconfig options, as they were only needed to coordinate the merging of the cxlflash driver. Also remove the stub implementation of cxl_perst_reloads_same_image() in cxlflash which is only used if CXL_EEH isn't defined (i.e. never). Suggested-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Acked-by: Ian Munsie <imunsie@au1.ibm.com> Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/scsi/cxlflash/main.h')
-rw-r--r--drivers/scsi/cxlflash/main.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/cxlflash/main.h b/drivers/scsi/cxlflash/main.h
index eb9d8f730b38..a8934084154b 100644
--- a/drivers/scsi/cxlflash/main.h
+++ b/drivers/scsi/cxlflash/main.h
@@ -100,8 +100,4 @@ struct asyc_intr_info {
#define SCAN_HOST 0x04
};
-#ifndef CONFIG_CXL_EEH
-#define cxl_perst_reloads_same_image(_a, _b) do { } while (0)
-#endif
-
#endif /* _CXLFLASH_MAIN_H */