diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-11-17 19:05:24 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-15 17:35:53 -0500 |
commit | ad497680a5ff646e645752e3e065a752f32f12f8 (patch) | |
tree | 6ce5160361730b3ac0c2cb6f2b46617f167ee70b /drivers/char | |
parent | 9065ce4500085b9ca66b19d3c4d21a73cb410173 (diff) |
ipmi: remove unused PCI probe code
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index d2e698096ace..aaf6eadaa4f9 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -2202,7 +2202,6 @@ static int __devinit ipmi_pci_probe(struct pci_dev *pdev, | |||
2202 | int rv; | 2202 | int rv; |
2203 | int class_type = pdev->class & PCI_ERMC_CLASSCODE_TYPE_MASK; | 2203 | int class_type = pdev->class & PCI_ERMC_CLASSCODE_TYPE_MASK; |
2204 | struct smi_info *info; | 2204 | struct smi_info *info; |
2205 | int first_reg_offset = 0; | ||
2206 | 2205 | ||
2207 | info = kzalloc(sizeof(*info), GFP_KERNEL); | 2206 | info = kzalloc(sizeof(*info), GFP_KERNEL); |
2208 | if (!info) | 2207 | if (!info) |
@@ -2241,9 +2240,6 @@ static int __devinit ipmi_pci_probe(struct pci_dev *pdev, | |||
2241 | info->addr_source_cleanup = ipmi_pci_cleanup; | 2240 | info->addr_source_cleanup = ipmi_pci_cleanup; |
2242 | info->addr_source_data = pdev; | 2241 | info->addr_source_data = pdev; |
2243 | 2242 | ||
2244 | if (pdev->subsystem_vendor == PCI_HP_VENDOR_ID) | ||
2245 | first_reg_offset = 1; | ||
2246 | |||
2247 | if (pci_resource_flags(pdev, 0) & IORESOURCE_IO) { | 2243 | if (pci_resource_flags(pdev, 0) & IORESOURCE_IO) { |
2248 | info->io_setup = port_setup; | 2244 | info->io_setup = port_setup; |
2249 | info->io.addr_type = IPMI_IO_ADDR_SPACE; | 2245 | info->io.addr_type = IPMI_IO_ADDR_SPACE; |