patch-1.3.42 linux/drivers/pci/pci.c

Next file: linux/drivers/scsi/53c7,8xx.c
Previous file: linux/drivers/net/wd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.41/linux/drivers/pci/pci.c linux/drivers/pci/pci.c
@@ -289,22 +289,6 @@
 	}
 }
 
-
-const char *pci_strbioserr (int error)
-{
-	switch (error) {
-	      case PCIBIOS_SUCCESSFUL:		return "SUCCESSFUL";
-	      case PCIBIOS_FUNC_NOT_SUPPORTED:	return "FUNC_NOT_SUPPORTED";
-	      case PCIBIOS_BAD_VENDOR_ID:	return "SUCCESSFUL";
-	      case PCIBIOS_DEVICE_NOT_FOUND:	return "DEVICE_NOT_FOUND";
-	      case PCIBIOS_BAD_REGISTER_NUMBER:	return "BAD_REGISTER_NUMBER";
-	      case PCIBIOS_SET_FAILED:		return "SET_FAILED";
-	      case PCIBIOS_BUFFER_TOO_SMALL:	return "BUFFER_TOO_SMALL";
-	      default:				return "Unknown error status";
-	}
-}
-
-
 const char *pci_strclass (unsigned int class)
 {
 	switch (class >> 8) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this