From mboxrd@z Thu Jan 1 00:00:00 1970 From: serge@hallyn.com (Serge E. Hallyn) Date: Sun, 13 Aug 2017 11:24:14 -0500 Subject: [PATCH 1/4] selinux: Delete eight unnecessary variable assignments In-Reply-To: <20170813162233.GB4515@mail.hallyn.com> References: <05edc763-dddd-fe48-b98c-21e4ad5463a3@users.sourceforge.net> <20170813162233.GB4515@mail.hallyn.com> Message-ID: <20170813162414.GC4515@mail.hallyn.com> To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org Quoting Serge E. Hallyn (serge at hallyn.com): > Quoting SF Markus Elfring (elfring at users.sourceforge.net): > > From: Markus Elfring > > Date: Sun, 13 Aug 2017 14:17:48 +0200 > > > > One local variable was reset to zero at the end of these functions. > > This value will also be set by a previous call of a function if it was > > executed successfully. Thus omit an extra assignment there. > > > > Signed-off-by: Markus Elfring > > Acked-by: Serge Hallyn BTW this does add a burden to the maintainers as it makes the code a bit more fragile in the face of future changes. So my ack means it looks ok, but if the maintainers don't want to take it I absolutely understand. -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html