summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorBrahmajit Das <listout@listout.xyz>2025-09-02 12:54:22 +0530
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-09-19 08:42:08 -0700
commit99e9c5ffbbee0f258a1da4eadf602b943f8c8300 (patch)
treeec7466ea6fefe5a4a541434d73edf1b9f80ed3ba /rust/helpers
parenta460f96709bb0dab9a527e2e6126ce0b2fcd02fe (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