]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/acpi/processor_throttling.c
ACPI: remove superfluous NULL pointer check from acpi_processor_get_throttling_info()
[mv-sheeva.git] / drivers / acpi / processor_throttling.c
index 1c5d7a8b2fdfc86f2b51e434625fdc497aa099e5..649b2b9b4759d3d29c675cd0cd189c2f4e681b2b 100644 (file)
@@ -1133,9 +1133,6 @@ int acpi_processor_get_throttling_info(struct acpi_processor *pr)
        int result = 0;
        struct acpi_processor_throttling *pthrottling;
 
-       if (!pr)
-               return -EINVAL;
-
        ACPI_DEBUG_PRINT((ACPI_DB_INFO,
                          "pblk_address[0x%08x] duty_offset[%d] duty_width[%d]\n",
                          pr->throttling.address,