Skip to content
Commit cba968e3 authored by Tom Rix's avatar Tom Rix Committed by Leon Romanovsky
Browse files

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: default avatarTom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230326120959.1351948-1-trix@redhat.com
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 1b69f1e3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment