[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bed2c4a0-cb14-83cf-ad90-ce4e7def8b1a@opengridcomputing.com>
Date: Thu, 20 Sep 2018 09:26:28 -0500
From: Steve Wise <swise@...ngridcomputing.com>
To: zhong jiang <zhongjiang@...wei.com>, swise@...lsio.com,
dledford@...hat.com, jgg@...pe.ca
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RDMA/cxgb4: remove redundant null pointer check before
kfree_skb
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@...wei.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@...ngridcomputing.com>
Powered by blists - more mailing lists