diff options
author | Vasanthy Kolluri <vkolluri@cisco.com> | 2010-09-30 09:35:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-01 03:36:52 -0400 |
commit | bf746e62afc83be1baccc0cc9e128a9805ecd5fd (patch) | |
tree | a092aaecb4b0d95012a9300296c5664384c00ddb /drivers/net/enic/enic_res.c | |
parent | 367e5e376922dcf52f92e1db436010fb828d3bfa (diff) |
enic: Remove dead code
Removed code that is unused
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David Wang <dwang2@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/enic_res.c')
-rw-r--r-- | drivers/net/enic/enic_res.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/net/enic/enic_res.c b/drivers/net/enic/enic_res.c index 29ede8a17a2c..19a276cf7681 100644 --- a/drivers/net/enic/enic_res.c +++ b/drivers/net/enic/enic_res.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include "vnic_intr.h" | 35 | #include "vnic_intr.h" |
36 | #include "vnic_stats.h" | 36 | #include "vnic_stats.h" |
37 | #include "vnic_nic.h" | 37 | #include "vnic_nic.h" |
38 | #include "vnic_rss.h" | ||
39 | #include "enic_res.h" | 38 | #include "enic_res.h" |
40 | #include "enic.h" | 39 | #include "enic.h" |
41 | 40 | ||
@@ -149,22 +148,6 @@ int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type, | |||
149 | return vnic_dev_cmd(enic->vdev, CMD_NIC_CFG, &a0, &a1, wait); | 148 | return vnic_dev_cmd(enic->vdev, CMD_NIC_CFG, &a0, &a1, wait); |
150 | } | 149 | } |
151 | 150 | ||
152 | int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, u64 len) | ||
153 | { | ||
154 | u64 a0 = (u64)key_pa, a1 = len; | ||
155 | int wait = 1000; | ||
156 | |||
157 | return vnic_dev_cmd(enic->vdev, CMD_RSS_KEY, &a0, &a1, wait); | ||
158 | } | ||
159 | |||
160 | int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, u64 len) | ||
161 | { | ||
162 | u64 a0 = (u64)cpu_pa, a1 = len; | ||
163 | int wait = 1000; | ||
164 | |||
165 | return vnic_dev_cmd(enic->vdev, CMD_RSS_CPU, &a0, &a1, wait); | ||
166 | } | ||
167 | |||
168 | void enic_free_vnic_resources(struct enic *enic) | 151 | void enic_free_vnic_resources(struct enic *enic) |
169 | { | 152 | { |
170 | unsigned int i; | 153 | unsigned int i; |