From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964927AbbBBKWy (ORCPT ); Mon, 2 Feb 2015 05:22:54 -0500 Received: from mout.web.de ([212.227.17.11]:61731 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932793AbbBBKWv (ORCPT ); Mon, 2 Feb 2015 05:22:51 -0500 Message-ID: <54CF4FEC.2010906@users.sourceforge.net> Date: Mon, 02 Feb 2015 11:22:36 +0100 From: SF Markus Elfring User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "David S. Miller" , Paul Moore , netdev@vger.kernel.org CC: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Julia Lawall Subject: [PATCH v3 0/3] netlabel: Deletion of a few unnecessary checks References: <54CD4B5F.9010502@users.sourceforge.net> <54CDFCDA.9010802@users.sourceforge.net> <20150201.123054.366525761630045391.davem@davemloft.net> In-Reply-To: <20150201.123054.366525761630045391.davem@davemloft.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:QXY4IrEjRm3a+5aDzuKJ3zVpZf7uBOigR4GIHtZ7Hkblzxa9JAV UnI0kKPps5DhhkTJ25el8RW2LX93LV8XLa81yZiHI3LA/t4zPzMcVn4Y89vJEhpPavtkm3M gia51fbcskIKz3uH6IwtwAGEGanNo1yiOMn131x28TUAEvJP2uEi/zmIai4MQtLRRJNcdbC NubgenO48w3ulRuJsVTfQ== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Mon, 2 Feb 2015 11:15:56 +0100 Further update suggestions were taken into account after patches were applied from static source code analysis. Markus Elfring (3): Deletion of an unnecessary check before the function call "cipso_v4_doi_putdef" Deletion of an unnecessary check before the function call "cipso_v4_doi_free" Less function calls in netlbl_mgmt_add_common() after error detection net/netlabel/netlabel_cipso_v4.c | 3 +-- net/netlabel/netlabel_mgmt.c | 50 +++++++++++++++++++--------------------- 2 files changed, 25 insertions(+), 28 deletions(-) -- 2.2.2