Commit 0fba1a95 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: slicoss: remove SLIC_POWER_MANAGEMENT_ENABLED

It was always disabled, so just remove it and the 2 lines of
code it was protecting.

Also remove SLIC_POWER_MANAGEMENT which was also disabled, yet
was never used.

Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e9ef456e
...@@ -60,7 +60,6 @@ ...@@ -60,7 +60,6 @@
#define DBG 1 #define DBG 1
#define SLIC_ASSERT_ENABLED 1 #define SLIC_ASSERT_ENABLED 1
#define SLIC_PING_TIMER_ENABLED 1 #define SLIC_PING_TIMER_ENABLED 1
#define SLIC_POWER_MANAGEMENT_ENABLED 0
#define SLIC_INTERRUPT_PROCESS_LIMIT 1 #define SLIC_INTERRUPT_PROCESS_LIMIT 1
#define LINUX_FREES_ADAPTER_RESOURCES 1 #define LINUX_FREES_ADAPTER_RESOURCES 1
#define SLIC_OFFLOAD_IP_CHECKSUM 1 #define SLIC_OFFLOAD_IP_CHECKSUM 1
...@@ -166,8 +165,6 @@ static int slic_upr_request(struct adapter *adapter, u32 upr_request, ...@@ -166,8 +165,6 @@ static int slic_upr_request(struct adapter *adapter, u32 upr_request,
static void slic_mcast_set_list(struct net_device *dev); static void slic_mcast_set_list(struct net_device *dev);
#define SLIC_POWER_MANAGEMENT 0
static uint slic_first_init = 1; static uint slic_first_init = 1;
static char *slic_banner = "Alacritech SLIC Technology(tm) Server "\ static char *slic_banner = "Alacritech SLIC Technology(tm) Server "\
"and Storage Accelerator (Non-Accelerated)"; "and Storage Accelerator (Non-Accelerated)";
...@@ -4582,11 +4579,6 @@ static struct pci_driver slic_driver = { ...@@ -4582,11 +4579,6 @@ static struct pci_driver slic_driver = {
.id_table = slic_pci_tbl, .id_table = slic_pci_tbl,
.probe = slic_entry_probe, .probe = slic_entry_probe,
.remove = slic_entry_remove, .remove = slic_entry_remove,
#if SLIC_POWER_MANAGEMENT_ENABLED
.suspend = slicpm_suspend,
.resume = slicpm_resume,
#endif
/* .shutdown = slic_shutdown, MOOK_INVESTIGATE */
}; };
static int __init slic_module_init(void) static int __init slic_module_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment