Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964889AbbKCUqA (ORCPT ); Tue, 3 Nov 2015 15:46:00 -0500 Received: from mout.web.de ([212.227.17.11]:59323 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932526AbbKCUp6 (ORCPT ); Tue, 3 Nov 2015 15:45:58 -0500 Subject: [PATCH 0/3] batman-adv: Deletion of a few unnecessary checks 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> To: Antonio Quartulli , "David S. Miller" , Marek Lindner , Simon Wunderlich , b.a.t.m.a.n@lists.open-mesh.org, netdev@vger.kernel.org Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring X-Enigmail-Draft-Status: N1110 Message-ID: <56391CF7.9080400@users.sourceforge.net> Date: Tue, 3 Nov 2015 21:45:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5317A59D.4@users.sourceforge.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:mjZ+woWZpm63S7umNYh31O8ctU004f4Js5DO6Sw2zxOWeL0U+sU axNEv46DXKbWLXSMHxoc7WaUwDEDGv4J8qtX3WhCoTlpaJmX/LNwNC+KyBX/1Slog1APOh3 jW5j5g+gNjqgD1llUeghDddtBmbhIGce7625mLLNy4H8096sPs0t+lobKunAon/vpFsY5kE NgB0A0q9kG+cDtxMWiUBA== X-UI-Out-Filterresults: notjunk:1;V01:K0:cFN0kkm9Qso=:hQMWfhJ3Obz0PmcdDtyNZG JoU47XYenOy/ppd8gQuIkKP2cw6AQD6YyDYIlZRG1DJ0/gszzbfgVykwCXjFxxGjNxTlHD9mu Sf3ZMO9xjWuge01iaMf0AVbZK/48/L6/m0xIBGAVRMKF1oL80+SdpAcb9i98HF7+mVLPgT44r v4QaV9sSOf/ENuNNHKisE33tn/3bGPeuXe+FFRZJLATofdfAGPQZxyyVvpb6EnhzT8ntShopn E9QfuYBwmQPPI9YQLOcZgrbxDH18lL/5cV1Y7kvvcUqqopiIVQFD29zC9o+6KLARlo+aT3IV0 Zm/pPQkLnZq/nJCOD9Jf2lM/coHkMOTiui/jg9l9lYRt5ebDMU0Dp2KnYjxOfTfEyOIAl8VAd E6l9qA0gJ1d1Vu63j7yd0eehTke5flGcYwC1PLldl1aB82zBZRTxKOlhZIAXECz9d7SLn+87E C79m2qkuYZZKAmn1Vx0QDKnnBEuIyBNEUXUxc6GBXbv8OXm4/KBrI4M0pf9qi3VPxuvEOFVs4 IlkEptdFCELqFPoxVTeqFc59yrlE7ccHCKP3WixZTYaHZaUgSwhnvTG2W92LfROPit6JKvO1C TvLNHouHni4YKd3FWRh4k7rShBX+f8Fu8d8TvXfPjbk6xfkrFhflWa3Rj+qloE1KnHeReWeT8 EtjL3tF4mH+hwwGvFD2qoaMAXPVwx2GW9YsIHMYYIZdI9uoQyrx++wNVrO5suH8zsU/72cgEM 2pxdsVcqix5UBizfN/mqxXK2kXUDJMJqmeqJZrghX0xryAiHzLMKJZTHsvsuVFnLwIyb1eFVC /2YuL3Z Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 785 Lines: 22 From: Markus Elfring Date: Tue, 3 Nov 2015 21:34:29 +0100 Further update suggestions were taken into account after a patch was applied from static source code analysis. Markus Elfring (3): Delete an unnecessary check before the function call "batadv_softif_vlan_free_ref" Split a condition check Less function calls in batadv_is_ap_isolated() after error detection net/batman-adv/translation-table.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/