Re: [PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb
From: Steve Wise
Date: Thu Sep 20 2018 - 10:31:29 EST
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@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxxxxxxxx>