Re: [PATCH] ACPI: PM: s2idle: Remove useless variable ‘obj_new’ in lpi_device_get_constraints_amd

2021-01-07 Thread Rafael J. Wysocki
On Wed, Jan 6, 2021 at 2:13 AM Ye Bin wrote: > > Fix warning: > drivers/acpi/x86/s2idle.c:138:25: warning: variable ‘obj_new’ set but > not used [-Wunused-but-set-variable] > union acpi_object *obj_new; >^~~ > Reported-by: Hulk Robot > Signed-off-by: Ye B

[PATCH] ACPI: PM: s2idle: Remove useless variable ‘obj_new’ in lpi_device_get_constraints_amd

2021-01-05 Thread Ye Bin
Fix warning: drivers/acpi/x86/s2idle.c:138:25: warning: variable ‘obj_new’ set but not used [-Wunused-but-set-variable] union acpi_object *obj_new; ^~~ Reported-by: Hulk Robot Signed-off-by: Ye Bin --- drivers/acpi/x86/s2idle.c | 2 -- 1 file changed, 2 d