From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Sat, 31 Jan 2015 21:52:50 +0000 Subject: Re: [PATCH] net: sched: One function call less in em_meta_change() after error detection Message-Id: <54CD4EB2.4010509@users.sourceforge.net> List-Id: References: <5307CAA2.8060406@users.sourceforge.net> <530A086E.8010901@users.sourceforge.net> <530A72AA.3000601@users.sourceforge.net> <530B5FB6.6010207@users.sourceforge.net> <530C5E18.1020800@users.sourceforge.net> <530CD2C4.4050903@users.sourceforge.net> <530CF8FF.8080600@users.sourceforge.net> <530DD06F.4090703@users.sourceforge.net> <5317A59D.4@users.sourceforge.net> <54CD042E.6030606@users.sourceforge.net> <54CD15EE.5040401@gmx.de> In-Reply-To: <54CD15EE.5040401@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Lino Sanfilippo , "David S. Miller" , Jamal Hadi Salim , netdev@vger.kernel.org Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall >> -errout: >> - if (err && meta) >> - meta_delete(meta); > > Since this patch seems to be about optimization and cleanup you should > probably also remove the now unnecessary initialization of "meta" with > NULL at the beginning of the function... Will the optimiser of the C compiler drop any remaining unnecessary variable initialisations? Do you want another update step here? Regards, Markus