diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-06-03 19:57:36 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-06-08 14:13:57 +0200 |
| commit | 9995e4404ea4c3026459d13dd545b10ef8989469 (patch) | |
| tree | a0e77417857cbd7044cabdbde7ce0a6de9b1133d /drivers/platform/wmi/tests/git@git.tavy.me:linux.git | |
| parent | 38bf27511ef41bffebd157ec3eba41fc89ba59cd (diff) | |
ACPI: NFIT: core: Eliminate redundant local variable
Eliminate local variable acpi_desc from __acpi_nvdimm_notify() because it
is redundant (its value is only checked against NULL once and the value
assigned to it may be checked directly instead) and update the subsequent
comment to reflect the code change.
No functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/14028918.uLZWGnKmhe@rafael.j.wysocki
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
