Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1722043

Re: [PATCH] net: ethernet: broadcom: Remove null check before kfree

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net: ethernet: broadcom: Remove null check before kfree
Date 2017-08-29 01:00 +0200
Message-ID <ujBaF-2X6-11@gated-at.bofh.it> (permalink)
References <uiPIK-5NM-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Himanshu Jha <himanshujha199640@gmail.com>
Date: Sun, 27 Aug 2017 01:47:47 +0530

> Kfree on NULL pointer is a no-op and therefore checking is redundant.
> 
> Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net: ethernet: broadcom: Remove null check before kfree Himanshu Jha <himanshujha199640@gmail.com> - 2017-08-26 22:20 +0200
  Re: [PATCH] net: ethernet: broadcom: Remove null check before kfree David Miller <davem@davemloft.net> - 2017-08-29 01:00 +0200

csiph-web