Re: [PATCH] Yet more PCI fixes for 2.5.70

From: Greg KH (greg@kroah.com)
Date: Tue Jun 10 2003 - 13:49:27 EST


ChangeSet 1.1346, 2003/06/09 15:53:52-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/net/wan/sbni.c

 drivers/net/wan/sbni.c | 3 ---
 1 files changed, 3 deletions(-)

diff -Nru a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
--- a/drivers/net/wan/sbni.c Tue Jun 10 11:20:14 2003
+++ b/drivers/net/wan/sbni.c Tue Jun 10 11:20:14 2003
@@ -263,9 +263,6 @@
 {
         struct pci_dev *pdev = NULL;
 
- if( !pci_present( ) )
- return -ENODEV;
-
         while( (pdev = pci_find_class( PCI_CLASS_NETWORK_OTHER << 8, pdev ))
                != NULL ) {
                 int pci_irq_line;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:26 EST