diff options
| author | Saket Dumbre <saket.dumbre@intel.com> | 2025-09-12 22:01:04 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-11-13 15:34:32 -0500 |
| commit | b7c21dec60f9d98d984a69adbb924eb5d23e4ee7 (patch) | |
| tree | cb51846b9fc8c2d90ce93d34fc1af53edbb8c586 /drivers/acpi | |
| parent | 6e223d5dc81d2e7553c5303b4c642700618648c2 (diff) | |
| download | linux-b7c21dec60f9d98d984a69adbb924eb5d23e4ee7.tar.gz linux-b7c21dec60f9d98d984a69adbb924eb5d23e4ee7.tar.bz2 linux-b7c21dec60f9d98d984a69adbb924eb5d23e4ee7.zip | |
ACPICA: Update dsmethod.c to get rid of unused variable warning
[ Upstream commit 761dc71c6020d6aa68666e96373342d49a7e9d0a ]
All the 3 major C compilers (MSVC, GCC, LLVM/Clang) warn about
the unused variable i after the removal of its usage by PR #1031
addressing Issue #1027
Link: https://github.com/acpica/acpica/commit/6d235320
Signed-off-by: Saket Dumbre <saket.dumbre@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/acpi')
| -rw-r--r-- | drivers/acpi/acpica/dsmethod.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/dsmethod.c b/drivers/acpi/acpica/dsmethod.c index dc53a5d70067..6168597a96e6 100644 --- a/drivers/acpi/acpica/dsmethod.c +++ b/drivers/acpi/acpica/dsmethod.c @@ -462,7 +462,6 @@ acpi_ds_call_control_method(struct acpi_thread_state *thread, struct acpi_walk_state *next_walk_state = NULL; union acpi_operand_object *obj_desc; struct acpi_evaluate_info *info; - u32 i; ACPI_FUNCTION_TRACE_PTR(ds_call_control_method, this_walk_state); |
