Patchwork [1/5] Revert "UBUNTU: SAUCE: ata_piix: add a disable_driver option"

login
register
mail settings
Submitter Andy Whitcroft
Date Dec. 5, 2012, 10:30 a.m.
Message ID <1354703459-10835-2-git-send-email-apw@canonical.com>
Download mbox | patch
Permalink /patch/203824/
State New
Headers show

Comments

Andy Whitcroft - Dec. 5, 2012, 10:30 a.m.
This reverts commit 76a644330362343a8e499bf50c373e8a1b8fa02a.

BugLink: http://bugs.launchpad.net/bugs/1079084
Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 drivers/ata/ata_piix.c |    7 -------
 1 file changed, 7 deletions(-)

Patch

diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index 0d2cf7e..1952869 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -1708,16 +1708,10 @@  static void piix_remove_one(struct pci_dev *pdev)
 	ata_pci_remove_one(pdev);
 }
 
-static bool disable_driver = 0;
 static int __init piix_init(void)
 {
 	int rc;
 
-	if (disable_driver) {
-		printk(KERN_WARNING "ata_piix: driver disabled completely\n");
-		return 0;
-	}
-
 	DPRINTK("pci_register_driver\n");
 	rc = pci_register_driver(&piix_pci_driver);
 	if (rc)
@@ -1738,4 +1732,3 @@  module_init(piix_init);
 module_exit(piix_exit);
 
 module_param(prefer_ms_hyperv, int, 0);
-module_param(disable_driver, bool, 0);