summaryrefslogtreecommitdiff
path: root/drivers/connector
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2013-08-30 14:30:51 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-24 03:40:38 +0400
commitbf9b59f2571d0d0470f904842a283ac7957438cd (patch)
tree3da513d38db75493787ce21828604769b3ae2e03 /drivers/connector
parent1bb25df0fde2cdb2f250a7e7e43c2ec1ba65d0f5 (diff)
downloadlinux-bf9b59f2571d0d0470f904842a283ac7957438cd.tar.xz
ACPI / processor: remove superfluous pr == NULL checks
The only acpi_processor_get_power_info_fadt() user (acpi_processor_get_power_info()) dereferences pr before calling the function. The only acpi_processor_hotplug() user (acpi_cpu_soft_notify()) checks for pr == NULL before calling the function. The only acpi_processor_cst_has_changed() user (acpi_processor_notify()) checks for pr == NULL before calling the function. The only acpi_processor_power_init() user (__acpi_processor_start()) dereferences pr before calling the function. Thus remove superfluous pr == NULL checks from affected functions. Also: While at it remove redundant brackets from acpi_processor_hotplug(). Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions