Messages in this thread | | | Subject | Re: [PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb | From | Steve Wise <> | Date | Thu, 20 Sep 2018 09:26:28 -0500 |
| |
On 9/20/2018 4:52 AM, zhong jiang wrote: > 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> > --- > drivers/infiniband/hw/cxgb4/cm.c | 3 +-- > drivers/infiniband/hw/cxgb4/qp.c | 3 +-- > 2 files changed, 2 insertions(+), 4 deletions(-)
Acked-by: Steve Wise <swise@opengridcomputing.com>
| |