Commit 5c9600dd authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: [firestream] remove dead code (from Francois Romieu <romieu@fr.zoreil.com>)

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 622dc337
......@@ -2012,57 +2012,6 @@ void __devexit firestream_remove_one (struct pci_dev *pdev)
func_exit ();
}
#if 0
int __init fs_detect(void)
{
struct pci_dev *pci_dev;
int devs = 0;
func_enter ();
pci_dev = NULL;
while ((pci_dev = pci_find_device(PCI_VENDOR_ID_FUJITSU_ME,
PCI_DEVICE_ID_FUJITSU_FS50,
pci_dev))) {
if (fs_register_and_init (pci_dev, &fs_pci_tbl[0]))
break;
devs++;
}
while ((pci_dev = pci_find_device(PCI_VENDOR_ID_FUJITSU_ME,
PCI_DEVICE_ID_FUJITSU_FS155,
pci_dev))) {
if (fs_register_and_init (pci_dev, FS_IS155))
break;
devs++;
}
func_exit ();
return devs;
}
#else
#if 0
int __init init_PCI (void)
{ /* Begin init_PCI */
printk ("init_PCI\n");
/*
memset (&firestream_driver, 0, sizeof (firestream_driver));
firestream_driver.name = "firestream";
firestream_driver.id_table = firestream_pci_tbl;
firestream_driver.probe = fs_register_and_init;
*/
return pci_register_driver(&firestream_driver);
} /* End init_PCI */
#endif
#endif
/*
#ifdef MODULE
#define firestream_init init_module
#endif
*/
static struct pci_device_id firestream_pci_tbl[] = {
{ PCI_VENDOR_ID_FUJITSU_ME, PCI_DEVICE_ID_FUJITSU_FS50,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, FS_IS50},
......
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