summaryrefslogtreecommitdiff
path: root/samples/rust
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2023-03-26 15:09:59 +0300
committerLeon Romanovsky <leon@kernel.org>2023-03-29 14:05:38 +0300
commitcba968e33e5df086b6e681179d199f959bc71f33 (patch)
treee2b33329b82bbdd20a654e61b983578744bf992c /samples/rust
parent1b69f1e3d7449d0c66f7bc0f429ed94fc03dfeb3 (diff)
downloadlinux-cba968e33e5df086b6e681179d199f959bc71f33.tar.xz
RDMA/ocrdma: remove unused discard_cnt variable
clang with W=1 reports drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:1592:6: error: variable 'discard_cnt' set but not used [-Werror,-Wunused-but-set-variable] int discard_cnt = 0; ^ This variable is not used so remove it. Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20230326120959.1351948-1-trix@redhat.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'samples/rust')
0 files changed, 0 insertions, 0 deletions