rdma/cxgb4: Simplify a structure initialization
authorBart Van Assche <bart.vanassche@wdc.com>
Tue, 31 Jul 2018 15:51:30 +0000 (08:51 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 31 Jul 2018 22:57:23 +0000 (16:57 -0600)
commitdd708e7b4541da1d61cdce2db1d9701444fdb317
tree9877ac3cf70218476d21c1b06e8f562eebdcb1f0
parenteb2463bab4bce46b0482a0e7e74575771a32fcf0
rdma/cxgb4: Simplify a structure initialization

This patch avoids that sparse reports the following warning:

drivers/infiniband/hw/cxgb4/qp.c:2269:34: warning: Using plain integer as NULL pointer

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Acked-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/qp.c