]> git.baikalelectronics.ru Git - kernel.git/commit
IB/qib: Remove a set-but-not-used variable
authorBart Van Assche <bvanassche@acm.org>
Wed, 27 Mar 2019 23:50:51 +0000 (16:50 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 28 Mar 2019 14:03:49 +0000 (11:03 -0300)
commitad841f9e31971f8f9f34ad7d653de558b720a448
tree3d58f9318d998c0d48c2803274fc96dae50aacf5
parent869a791c985f61a0d44bf9150a80b5abdd7858f9
IB/qib: Remove a set-but-not-used variable

This patch avoids that a compiler warning is reported when building with
W=1.

Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Fixes: 5dc5bc02817e ("IB/qib: Change SDMA progression mode depending on single- or multi-rail")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/qib/qib_user_sdma.c