ACPI: bus: Remove unneeded assignment
authorHanjun Guo <guohanjun@huawei.com>
Wed, 2 Jun 2021 09:36:49 +0000 (17:36 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Jun 2021 13:44:25 +0000 (15:44 +0200)
commit9b64560134a0032d2de6bb565a76418ad90386fe
tree0b8d4645ee854acfc4d06083483bd3de37b88e70
parentbe7ae56809bf6d3e6ee80cc92f4096207640a2fb
ACPI: bus: Remove unneeded assignment

When acpi_kobj is NULL already, assigning NULL to it is redundant,
so don't do that.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c