Messages in this thread | | | Date | Wed, 7 Feb 2024 09:39:11 +0000 | From | Simon Horman <> | Subject | Re: [PATCH] qed: remove duplicated assignment to variable opaque_fid |
| |
On Mon, Feb 05, 2024 at 09:55:30PM +0000, Colin Ian King wrote: > Variable opaque_fid is being assigned twice with the same value > in two identical statements. Remove the redundant first assignment. > > Cleans up clang scan build warnin:
warning :)
> drivers/net/ethernet/qlogic/qed/qed_rdma.c:1796:2: warning: Value > stored to 'opaque_fid' is never read [deadcode.DeadStores] > > Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
| |