summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrahmajit Das <listout@listout.xyz>2025-09-02 12:54:22 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-03 12:45:13 +0100
commit4dbc4e8cd5e95d9d79a8dfc43ffc7e84ebb3aed0 (patch)
treec9da1a41cca1142aa0a6f137e264da302dacd085 /scripts
parentd6af7fce2e162ac68e85d3a11eb6ac8c35b24b64 (diff)
net: intel: fm10k: Fix parameter idx set but not used
[ Upstream commit 99e9c5ffbbee0f258a1da4eadf602b943f8c8300 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions