From: Bartlomiej Zolnierkiewicz Date: Tue, 2 Feb 2010 22:37:55 +0000 (-0800) Subject: ACPI: remove superfluous NULL pointer check from acpi_processor_get_throttling_info() X-Git-Tag: v2.6.34-rc2~37^2^12~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ded180e7ebfc324b36a94931f99d0705dcd8da29;p=pandora-kernel.git ACPI: remove superfluous NULL pointer check from acpi_processor_get_throttling_info() Dan's list contains: drivers/acpi/processor_throttling.c +1139 acpi_processor_get_throttling_info(11) warning: variable derefenced before check 'pr' acpi_processor_get_throttling_info() is never called with pr == NULL. [ bart: the potential NULL pointer dereference was finally fixed in (much later than mine) commit 5cfa245 but my patch is still valid ] Reported-by: Dan Carpenter Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed