Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752347AbdHMOsf (ORCPT ); Sun, 13 Aug 2017 10:48:35 -0400 Received: from mout.web.de ([212.227.15.14]:50419 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058AbdHMOsd (ORCPT ); Sun, 13 Aug 2017 10:48:33 -0400 Subject: [PATCH 3/4] selinux: Delete an unnecessary return statement in ebitmap_destroy() From: SF Markus Elfring To: linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov, Alexey Dobriyan , Daniel Jurgens , Eric Paris , James Morris , Junil Lee , Paul Moore , "Serge E. Hallyn" , Stephen Smalley , William Roberts Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <230e56f6-3dd9-5e6e-fa06-df22d61e0831@users.sourceforge.net> Date: Sun, 13 Aug 2017 16:48:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:HuiZEx1eSX+kphhBz10EdJIBBv9uwuOLDar0CuocOzGZ4qVqbmd 5P986GNS/2tNCVlLZ/J9J5/JX69Qx48qI42ZnwDVMK99r3UCbTxcl5gUiZo5zuxj86Zwwqf t8RxTH9oVfpFkPytQT51i0rMPv/9HS84ktjJ6QV9HtVVjaedf5qVrsDgvnBk6S2vqjIIa6I RBjbcSNO3y5g+u9cJzt5w== X-UI-Out-Filterresults: notjunk:1;V01:K0:FUV/iky2dyY=:fJ5j5L/BCmcwzC6FRdQdxF lJs8pVP/iII3edW1UfuKq5msCySkj/BuL2xqVm8X+olgWxO7yQ3zl63mDmtyGUD+IljgKZIx2 rEs5XPyx/UWb24CdzQcVVzz5k1m8dRV513j0SB/biR18UHRvMelbqxSv7RAzH4jrfjPZ5UOo3 4EYk4srPGHArQaArS4D+VaONp2MmTYvHRkEHIAmyOhU2oVwa/Kl6FI4XI/EdpNNee0n1okcfT QmXwKKaMcaGDyadl0hjMp1GcoNzEzcN5yLfoyOtBNk2Nr8qVCJ58jQ7oq3CGv8I2rsD9DA6wB LXmyZVVbdw0YZT8XAqfZIWmvgTsZWwXEG25KjybTmU1Oe/cgxwcHzahHE5rgtBgX+pyGlVGQ3 LzrF8ti06JWEWBVtRrUXBVtEWsOS9ukZhcklWLVF7HleplfhBHzSdRk0MZGjD2hh9jWh1tnA6 oIzWXHjeT5mLhS0eMzBURYTbvGBQHSHg1PzUGBUm769jkfTWwPAAK+vQ8B7XbMCa2ZSKnDOPQ uqlrGAIPyF/IBkhytGKOhJgsPE8VlrjI/duMCELBg6bLowr+cnr3HxPyBWB4yTHHM/ii9Aef4 jEbp3t5kzkF3wARvt5DtWeRAXBmWze2hbo31Dw/MwcboEVHvVYRZM1NGJB17BevaQAWKqtWCg x1Vn7UDN0gbpswzIDSd/E2U1FK8QgA9JBL+0p8ezQuTsH3SCByqV9jp/MjSPceBCuNYOw3evl EHyTDMh0bbnTHWgWXEND3dQG5SivWyasHiuwc2DCp4vbtDqQsELGh73NIFAV3hQsqcvkykaix LGIdotssh0RAl64t0StAnfXvBiITLO8a4QC0RnckZNxaoqTUPg= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 780 Lines: 28 From: Markus Elfring Date: Sun, 13 Aug 2017 15:50:26 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected function. Signed-off-by: Markus Elfring --- security/selinux/ss/ebitmap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/security/selinux/ss/ebitmap.c b/security/selinux/ss/ebitmap.c index 03581d7ef817..697bd748760a 100644 --- a/security/selinux/ss/ebitmap.c +++ b/security/selinux/ss/ebitmap.c @@ -339,7 +339,6 @@ void ebitmap_destroy(struct ebitmap *e) e->highbit = 0; e->node = NULL; - return; } int ebitmap_read(struct ebitmap *e, void *fp) -- 2.14.0