Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > ea32411352494358b8d75a78402a4713 > files > 18

kernel-2.6.18-238.19.1.el5.centos.plus.src.rpm

--- a/drivers/pci/pci.c	2010-10-19 03:40:12.000000000 +0200
+++ b/drivers/pci/pci.c	2010-10-19 03:03:57.000000000 +0200
@@ -416,8 +416,7 @@
 		printk(KERN_ERR "%s(): %s: state=%d, current state=%d\n",
 			__FUNCTION__, pci_name(dev), state, dev->current_state);
 		return -EINVAL;
-	} else if (dev->current_state == state)
-		return 0;        /* we're already there */
+	}
 
 	/*
 	 * If the device or the parent bridge can't support PCI PM, ignore