From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Jesper Juhl <juhl-lkml@dif.dk>
Cc: netdev@oss.sgi.com, "David S. Miller" <davem@davemloft.net>,
Regina Kodato <reginak@cyclades.com>,
pc300@cyclades.com, Nenad Corbic <ncorbic@sangoma.com>,
Henner Eisen <eis@baty.hanse.de>,
linux-net@vger.kernel.org,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] cleanups in drivers/net/wan/ - kfree of NULL pointer is valid
Date: Thu, 28 Apr 2005 19:23:30 -0300 [thread overview]
Message-ID: <20050428222330.GI26945@conectiva.com.br> (raw)
In-Reply-To: <Pine.LNX.4.62.0504290009310.2476@dragon.hyggekrogen.localhost>
Em Fri, Apr 29, 2005 at 12:22:22AM +0200, Jesper Juhl escreveu:
> kfree(0) is perfectly valid, checking pointers for NULL before calling
> kfree() on them is redundant. The patch below cleans away a few such
> redundant checks (and while I was around some of those bits I couldn't
> stop myself from making a few tiny whitespace changes as well).
Acked-by: Arnaldo Carvalho de MElo <acme@ghostprotocols.net>
next prev parent reply other threads:[~2005-04-28 22:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 22:22 [PATCH] cleanups in drivers/net/wan/ - kfree of NULL pointer is valid Jesper Juhl
2005-04-28 22:23 ` Arnaldo Carvalho de Melo [this message]
2005-05-03 21:32 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050428222330.GI26945@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=davem@davemloft.net \
--cc=eis@baty.hanse.de \
--cc=juhl-lkml@dif.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
--cc=ncorbic@sangoma.com \
--cc=netdev@oss.sgi.com \
--cc=pc300@cyclades.com \
--cc=reginak@cyclades.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).