IB/cxgb4: use skb_put_zero()/__skb_put_zero
authorYueHaibing <yuehaibing@huawei.com>
Sat, 28 Apr 2018 07:31:06 +0000 (15:31 +0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 1 May 2018 15:27:37 +0000 (11:27 -0400)
commitecb238f6a7f369b5e0eece4e913c9d671208860c
tree2dd01e37037c31b0fbf974f233bc0c74357d3b32
parent2f6e51365727a1428d281821ec928904c723e47d
IB/cxgb4: use skb_put_zero()/__skb_put_zero

Use the recently introduced helper to replace the pattern of
skb_put_zero/__skb_put() && memset().

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/qp.c
drivers/infiniband/sw/rxe/rxe_net.c