]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cxgb4: remove redundant null pointer check before kfree_skb
authorzhong jiang <zhongjiang@huawei.com>
Thu, 20 Sep 2018 09:52:42 +0000 (17:52 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 21 Sep 2018 16:00:50 +0000 (12:00 -0400)
commite15fc01628c51d3fc0eb63bcfad743aa2f30ec28
tree04fa99d9f12a7272382d695e84ecf1d1ed5d555b
parentf4dd83bcbc91974cfb85825bec00d1f9b6a24699
RDMA/cxgb4: remove redundant null pointer check before kfree_skb

kfree_skb has taken the null pointer into account. hence it is safe
to remove the redundant null pointer check before kfree_skb.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/cm.c
drivers/infiniband/hw/cxgb4/qp.c