Skip to content

Commit

Permalink
cxl: remove dead Kconfig options
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Donnellan <[email protected]>
Acked-by: Ian Munsie <[email protected]>
Acked-by: Matthew R. Ochs <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
  • Loading branch information
ajdlinux authored and mpe committed Jul 19, 2016
1 parent c2ca9f6 commit 1e44727
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
10 changes: 0 additions & 10 deletions drivers/misc/cxl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ config CXL_BASE
default n
select PPC_COPRO_BASE

config CXL_KERNEL_API
bool
default n

config CXL_EEH
bool
default n

config CXL_AFU_DRIVER_OPS
bool
default n
Expand All @@ -23,8 +15,6 @@ config CXL
tristate "Support for IBM Coherent Accelerators (CXL)"
depends on PPC_POWERNV && PCI_MSI && EEH
select CXL_BASE
select CXL_KERNEL_API
select CXL_EEH
select CXL_AFU_DRIVER_OPS
default m
help
Expand Down
4 changes: 0 additions & 4 deletions drivers/scsi/cxlflash/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 1e44727

Please sign in to comment.