[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130305.144052.577951922981506984.davem@davemloft.net>
Date: Tue, 05 Mar 2013 14:40:52 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sachin.kamat@...aro.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] net: ipv4: Remove redundant NULL check
From: Sachin Kamat <sachin.kamat@...aro.org>
Date: Tue, 5 Mar 2013 16:57:09 +0530
> kfree on a null pointer is a NO-OP. Hence null check is not necessary.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@...aro.org>
Unnecessary writes to the socket struct should be avoided, as it
generates unnecessary write traffic to the L2 cache.
I'm not applying this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists