summaryrefslogtreecommitdiff
path: root/kernel/resource.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2023-03-30 19:58:00 -0400
committerLeon Romanovsky <leon@kernel.org>2023-04-03 15:46:53 +0300
commite7706c4bbfe88fe5bc9b8a6b1b5a84a5d58e2f7e (patch)
tree211c1c8df4c16d8024708659ef06270a756a6f92 /kernel/resource.c
parent081c27b3bcdbfad6fa3c16975e02e33073f1267d (diff)
IB/qib: Remove unused cnt variable
clang with W=1 reports drivers/infiniband/hw/qib/qib_file_ops.c:487:20: error: variable 'cnt' set but not used [-Werror,-Wunused-but-set-variable] u32 tid, ctxttid, cnt, limit, tidcnt; ^ drivers/infiniband/hw/qib/qib_file_ops.c:1771:9: error: variable 'cnt' set but not used [-Werror,-Wunused-but-set-variable] int i, cnt = 0, maxtid = ctxt_tidbase + dd->rcvtidcnt; ^ This variable is not used so remove it. Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20230330235800.1845815-1-trix@redhat.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions