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


Groups > linux.kernel > #1720727

Re: [PATCH 1/2] crypto: n2 - remove null check before kfree

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] crypto: n2 - remove null check before kfree
Date 2017-08-27 04:00 +0200
Message-ID <uiV1L-Fm-3@gated-at.bofh.it> (permalink)
References <uiQEN-6qp-3@gated-at.bofh.it> <uiQEN-6qp-1@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 02:45:29 +0530

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

Acked-by: David S. Miller <davem@davemloft.net>

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


Thread

[PATCH 1/2] crypto: n2 - remove null check before kfree Himanshu Jha <himanshujha199640@gmail.com> - 2017-08-26 23:20 +0200
  Re: [PATCH 1/2] crypto: n2 - remove null check before kfree David Miller <davem@davemloft.net> - 2017-08-27 04:00 +0200

csiph-web