RDMA/mlx4: remove redundant assignment to variable nreq
authorColin Ian King <colin.i.king@gmail.com>
Sun, 30 Jan 2022 22:57:47 +0000 (22:57 +0000)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 1 Feb 2022 14:55:43 +0000 (10:55 -0400)
commit0d9c00117b8a57a361b27f7bd94284c94155f039
tree990aeb831ce8297c4a3179463f125bfac3865181
parentd3f6899b0b5617e8900d6b1ae60414e611b1a0f1
RDMA/mlx4: remove redundant assignment to variable nreq

Variable nreq is being assigned a value that is never read. The assignment
is redundant and can be removed.

Link: https://lore.kernel.org/r/20220130225747.8114-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx4/srq.c