diff options
| author | Bartlomiej Zolnierkiewicz <[email protected]> | 2010-02-02 22:37:55 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2010-02-16 08:17:41 +0000 |
| commit | ded180e7ebfc324b36a94931f99d0705dcd8da29 (patch) | |
| tree | 22c4f4ea4aaf6032e34b2056902ac7f7418d9a88 /net/lapb/lapb_in.c | |
| parent | ACPI: delete unused acpi_evaluate_string() (diff) | |
| download | kernel-ded180e7ebfc324b36a94931f99d0705dcd8da29.tar.gz kernel-ded180e7ebfc324b36a94931f99d0705dcd8da29.zip | |
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 <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
