diff options
| author | Brahmajit Das <listout@listout.xyz> | 2025-09-02 10:24:22 +0300 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-09-19 18:42:08 +0300 |
| commit | 99e9c5ffbbee0f258a1da4eadf602b943f8c8300 (patch) | |
| tree | ec7466ea6fefe5a4a541434d73edf1b9f80ed3ba /tools/perf/scripts/python | |
| parent | a460f96709bb0dab9a527e2e6126ce0b2fcd02fe (diff) | |
| download | linux-99e9c5ffbbee0f258a1da4eadf602b943f8c8300.tar.xz | |
net: intel: fm10k: Fix parameter idx set but not used
Variable idx is set in the loop, but is never used resulting in dead
code. Building with GCC 16, which enables
-Werror=unused-but-set-parameter= by default results in build error.
This patch removes the idx parameter, since all the callers of the
fm10k_unbind_hw_stats_q as 0 as idx anyways.
Suggested-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
