linux-stable/drivers/infiniband/hw/ocrdma
Tom Rix cba968e33e 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>
2023-03-29 14:05:38 +03:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ocrdma.h RDMA/ocrdma: Remove fbo from MR 2020-09-11 10:24:54 -03:00
ocrdma_ah.c RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
ocrdma_ah.h RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
ocrdma_hw.c IB: move from strlcpy with unused retval to strscpy 2022-08-21 14:18:02 +03:00
ocrdma_hw.h RDMA: Clean destroy CQ in drivers do not return errors 2019-06-11 16:17:10 -04:00
ocrdma_main.c RDMA/ocrdma: Use helper function to set GUIDs 2021-11-17 16:52:07 -04:00
ocrdma_sli.h RDMA/ocrdma: Fix spelling mistake in variable name 2019-11-14 11:51:42 -04:00
ocrdma_stats.c RDMA/ocrdma: Fix spelling mistake in variable name 2019-11-14 11:51:42 -04:00
ocrdma_stats.h RDMA/ocrdma: Make ocrdma_pma_counters() return void 2019-11-06 15:38:57 -04:00
ocrdma_verbs.c RDMA/ocrdma: remove unused discard_cnt variable 2023-03-29 14:05:38 +03:00
ocrdma_verbs.h RDMA/ocrdma: Use helper function to set GUIDs 2021-11-17 16:52:07 -04:00