Re: [PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb

2018-09-21 Thread Doug Ledford
On Thu, 2018-09-20 at 17:52 +0800, 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 Applied to for-next, thanks. -- Doug Ledford GPG KeyID:

Re: [PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb

2018-09-21 Thread Doug Ledford
On Thu, 2018-09-20 at 17:52 +0800, 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 Applied to for-next, thanks. -- Doug Ledford GPG KeyID:

Re: [PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb

2018-09-20 Thread Steve Wise
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 > --- > drivers/infiniband/hw/cxgb4/cm.c | 3 +-- > drivers/infiniband/hw/cxgb4/qp.c |

Re: [PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb

2018-09-20 Thread Steve Wise
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 > --- > drivers/infiniband/hw/cxgb4/cm.c | 3 +-- > drivers/infiniband/hw/cxgb4/qp.c |

[PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb

2018-09-20 Thread zhong jiang
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 --- drivers/infiniband/hw/cxgb4/cm.c | 3 +-- drivers/infiniband/hw/cxgb4/qp.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)

[PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb

2018-09-20 Thread zhong jiang
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 --- drivers/infiniband/hw/cxgb4/cm.c | 3 +-- drivers/infiniband/hw/cxgb4/qp.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)