Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T21:03:45Z

ChangeSet 1.1321, 2003/06/09 15:31:49-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/char/epca.c

drivers/char/epca.c | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)

diff -Nru a/drivers/char/epca.c b/drivers/char/epca.c
--- a/drivers/char/epca.c Tue Jun 10 11:22:18 2003
+++ b/drivers/char/epca.c Tue Jun 10 11:22:18 2003
@@ -1639,16 +1639,9 @@
--------------------------------------------------------------------- */

pci_boards_found = 0;
- if (pci_present())
- {
- if(num_cards < MAXBOARDS)
- pci_boards_found += init_PCI();
- num_cards += pci_boards_found;
- }
- else
- {
- printk(KERN_ERR "<Error> - No PCI BIOS found\n");
- }
+ if(num_cards < MAXBOARDS)
+ pci_boards_found += init_PCI();
+ num_cards += pci_boards_found;

#endif /* ENABLE_PCI */