Commit 5704d626 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Len Brown

ACPI: remove comments about debug layer/level to use

I don't think there's any point in cluttering the code with these.
Better to improve the documentation so *anybody* can figure out
what layer & level to use.
Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c2d06fe3
...@@ -376,15 +376,9 @@ static int acpi_pci_root_remove(struct acpi_device *device, int type) ...@@ -376,15 +376,9 @@ static int acpi_pci_root_remove(struct acpi_device *device, int type)
static int __init acpi_pci_root_init(void) static int __init acpi_pci_root_init(void)
{ {
if (acpi_pci_disabled) if (acpi_pci_disabled)
return 0; return 0;
/* DEBUG:
acpi_dbg_layer = ACPI_PCI_COMPONENT;
acpi_dbg_level = 0xFFFFFFFF;
*/
if (acpi_bus_register_driver(&acpi_pci_root_driver) < 0) if (acpi_bus_register_driver(&acpi_pci_root_driver) < 0)
return -ENODEV; return -ENODEV;
......
...@@ -2094,12 +2094,6 @@ static int __init acpi_video_init(void) ...@@ -2094,12 +2094,6 @@ static int __init acpi_video_init(void)
{ {
int result = 0; int result = 0;
/*
acpi_dbg_level = 0xFFFFFFFF;
acpi_dbg_layer = 0x08000000;
*/
acpi_video_dir = proc_mkdir(ACPI_VIDEO_CLASS, acpi_root_dir); acpi_video_dir = proc_mkdir(ACPI_VIDEO_CLASS, acpi_root_dir);
if (!acpi_video_dir) if (!acpi_video_dir)
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment