Skip to content

Commit 3d9c188

Browse files
kkaneshigegregkh
authored andcommitted
shpchp: remove CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE
The CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE config option is not needed because polling mechanism for shpc hotplug events can be enabled through module option 'shpchp_poll_mode'. This patch removes CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 34d0341 commit 3d9c188

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

‎drivers/pci/hotplug/Kconfig‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,6 @@ config HOTPLUG_PCI_SHPC
145145

146146
When in doubt, say N.
147147

148-
config HOTPLUG_PCI_SHPC_POLL_EVENT_MODE
149-
bool "Use polling mechanism for hot-plug events (for testing purpose)"
150-
depends on HOTPLUG_PCI_SHPC
151-
help
152-
Say Y here if you want to use the polling mechanism for hot-plug
153-
events for early platform testing.
154-
155-
When in doubt, say N.
156-
157148
config HOTPLUG_PCI_RPA
158149
tristate "RPA PCI Hotplug driver"
159150
depends on HOTPLUG_PCI && PPC_PSERIES && PPC64 && !HOTPLUG_PCI_FAKE

‎drivers/pci/hotplug/shpchp_core.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,10 +401,6 @@ static int __init shpcd_init(void)
401401
{
402402
int retval = 0;
403403

404-
#ifdef CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE
405-
shpchp_poll_mode = 1;
406-
#endif
407-
408404
retval = pci_register_driver(&shpc_driver);
409405
dbg("%s: pci_register_driver = %d\n", __FUNCTION__, retval);
410406
info(DRIVER_DESC " version: " DRIVER_VERSION "\n");

0 commit comments

Comments
 (0)