diff options
| author | Brahmajit Das <listout@listout.xyz> | 2025-09-02 12:54:22 +0530 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-09-19 08:42:08 -0700 |
| commit | 99e9c5ffbbee0f258a1da4eadf602b943f8c8300 (patch) | |
| tree | ec7466ea6fefe5a4a541434d73edf1b9f80ed3ba /rust/helpers | |
| parent | a460f96709bb0dab9a527e2e6126ce0b2fcd02fe (diff) | |
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 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
