]> git.baikalelectronics.ru Git - kernel.git/commit
rdma/cxgb4: Remove a set-but-not-used variable
authorBart Van Assche <bart.vanassche@wdc.com>
Tue, 31 Jul 2018 15:08:15 +0000 (08:08 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 31 Jul 2018 22:57:22 +0000 (16:57 -0600)
commitb1240d4c00d5f730c6545754567d52e004e941a4
tree76c9f583cad2c5e10c957b1a470ec0e31e712ec5
parentd09499b1b95ee32bc7f57ecf413eb4ac7eee66b1
rdma/cxgb4: Remove a set-but-not-used variable

This patch avoids that the following warning is reported when building with
W=1:

drivers/infiniband/hw/cxgb4/cm.c:1860:5: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  u8 status;
     ^~~~~~

Fixes: 91fb0aba270f ("rdma/cxgb4: Add support for kernel mode SRQ's")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/cm.c