diff --git a/bbswitch.c b/bbswitch.c index 00a8f2c..224f298 100644 --- a/bbswitch.c +++ b/bbswitch.c @@ -96,9 +96,6 @@ static char dis_dev_name[16]; static struct pci_dev *dis_dev; static acpi_handle dis_handle; -/* whether the card was off before suspend or not; on: 0, off: 1 */ -static int dis_before_suspend_disabled; - static char *buffer_to_string(const char *buffer, size_t n, char *target) { int i; for (i=0; idev), is_card_disabled() ? "off" : "on"); dis_dev_put(); - - if (nb.notifier_call) - unregister_pm_notifier(&nb); } module_init(bbswitch_init);