On Sun, 26 Mar 2023 08:09:59 -0400, Tom Rix wrote: > 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. > > [...] Applied, thanks! [1/1] RDMA/ocrdma: remove unused discard_cnt variable https://git.kernel.org/rdma/rdma/c/cba968e33e5df0 Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>