diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-26 14:07:57 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:53:07 -0700 |
commit | 04ac01caa68aca58347ff91354fc4851c9d619e9 (patch) | |
tree | 66ce834c9d228c5acf33f5eb15d4eeed36d5a0d6 /drivers | |
parent | 0fba1a954db47fa9f62b559537e552c8cc8752ba (diff) | |
download | linux-3.10-04ac01caa68aca58347ff91354fc4851c9d619e9.tar.gz linux-3.10-04ac01caa68aca58347ff91354fc4851c9d619e9.tar.bz2 linux-3.10-04ac01caa68aca58347ff91354fc4851c9d619e9.zip |
Staging: slicoss: remove LINUX_FREES_ADAPTER_RESOURCES
It was always enabled, so just enable it and take out the one place it
was being used.
Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/slicoss/slicoss.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 98ec06aa6a9..53081140d19 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -61,7 +61,6 @@ #define SLIC_ASSERT_ENABLED 1 #define SLIC_PING_TIMER_ENABLED 1 #define SLIC_INTERRUPT_PROCESS_LIMIT 1 -#define LINUX_FREES_ADAPTER_RESOURCES 1 #define SLIC_OFFLOAD_IP_CHECKSUM 1 #define STATS_TIMER_INTERVAL 2 #define PING_TIMER_INTERVAL 1 @@ -1787,11 +1786,9 @@ static int slic_if_init(struct adapter *adapter) static void slic_unmap_mmio_space(struct adapter *adapter) { -#if LINUX_FREES_ADAPTER_RESOURCES if (adapter->slic_regs) iounmap(adapter->slic_regs); adapter->slic_regs = NULL; -#endif } static int slic_adapter_allocresources(struct adapter *adapter) |