drm/nouveau: remove unused increment in gm200_flcn_pio_imem_wr
authorTimur Tabi <ttabi@nvidia.com>
Wed, 13 Aug 2025 00:10:03 +0000 (19:10 -0500)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 25 Aug 2025 16:09:29 +0000 (18:09 +0200)
commitf529b8915543fb9ceb732cec5571f7fe12bc9530
tree0022d3041319a61e7f74d82065cc5ce6e4d3a1e0
parent66e82b6e0a28d4970383e1ee5d60f431001128cd
drm/nouveau: remove unused increment in gm200_flcn_pio_imem_wr

The 'tag' parameter is passed by value and is not actually used after
being incremented, so remove the increment.  It's the function that calls
gm200_flcn_pio_imem_wr that is supposed to (and does) increment 'tag'.

Fixes: 0e44c2170876 ("drm/nouveau/flcn: new code to load+boot simple HS FWs (VPR scrubber)")
Reviewed-by: Philipp Stanner <phasta@kernel.org>
Signed-off-by: Timur Tabi <ttabi@nvidia.com>
Link: https://lore.kernel.org/r/20250813001004.2986092-2-ttabi@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c