From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Mon, 27 Mar 2017 06:24:36 +0000 Subject: Re: selinux: Delete unnecessary variable assignments in policydb_index() Message-Id: <1ae9af46-a3ca-33b8-d347-8983a22cb3cb@users.sourceforge.net> List-Id: References: <247c0e27-c442-3408-4f92-492629d61fbf@users.sourceforge.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-security-module@vger.kernel.org > However, I agree with Casey that this patch is mostly just code churn > so I'm going to drop this from your series. How do you think about to return only constant error codes in this function? Would it be acceptable to replace any statements “goto out;” with “return -ENOMEM;” here instead? Regards, Markus