ACPI: processor: Drop duplicate setting of shared_cpu_map
authorPunit Agrawal <punitagrawal@gmail.com>
Mon, 23 Nov 2020 23:59:51 +0000 (08:59 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 25 Nov 2020 15:44:36 +0000 (16:44 +0100)
commit55130fb22a1c396139c3da46f939bf5a6a92095e
tree7442f4235c35fb7b5324ef987312e4cd9e83c03e
parent418baf2c28f3473039f2f7377760bd8f6897ae18
ACPI: processor: Drop duplicate setting of shared_cpu_map

'shared_cpu_map', stored as part of the per-processor
acpi_processor_performance structre, is used to store CPUs that share
a performance domain. By definition it contains the owning CPU.

While building the 'shared_cpu_map' it is being set twice - once while
initialising the performance domains and again when matching CPUs
belonging to the same domain.

Drop the unnecessary initialisation.

Signed-off-by: Punit Agrawal <punitagrawal@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_perflib.c