Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752476AbbKOIkw (ORCPT ); Sun, 15 Nov 2015 03:40:52 -0500 Received: from mout.web.de ([212.227.17.11]:55750 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751234AbbKOIks (ORCPT ); Sun, 15 Nov 2015 03:40:48 -0500 Subject: [PATCH 0/2] batman-adv: Deletion of some 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 Message-ID: <56484502.8000206@users.sourceforge.net> Date: Sun, 15 Nov 2015 09:40:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <5317A59D.4@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:VlPqG/n5oaZ22fKMGkM5w+2YmjPGZpIvkXPsRMvefV+l/x8Uk01 dr25mBZfrZrrqaFLcSYP5ZhWzLy2BixXN4QQiFsqMj92ZJAfIO/j53uBXuTB08sDQEQmesl 0DRakGJ8nTW1pKmLcbrOQmdXpshAX/yG6IzmNRmo74yNG1mSRZPhMLFmiQ+MAY8TDxfjsqs oxU36vNbl7DvIKEV6Rj5Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:oxXHRqFjTrw=:BRsMKzT5nRMjegiIjyCT+L fAx94ZlEAaeELMWVvBtGzA95U7xEKS8X3QQDGQZbDVWeKoEWt+5uGa34d/rlJhGYQMQaQIrH6 8l986aYfKPjPBtba9Lay9TX9GyP4Kw3R2Q+C8yx26WxKfxs6z1sR7pMxTE7AxFvubNmkdBHB6 Ws9+ntK499R0x1y0x+yHo7lmdThq6HKr6vm/BvI1oUpOP5PrTXr7HpJdzLjabgDCRzv9ADYS+ 1NLALSp3h4i39XQkCqWe3K02kpPVx7Kj5rGVZf4nJJPmDlVSIrCsxh+ywRAvSIB2H/PEeX+2t qO6LmIFkA48KhV74bIsq2ZtAPiJrfQNdv7z61zr2WnXtlgUHOQ/vMtGUFSrBBZ2/Xkr5bV0xq 83RVD9dvoQposh7ZxOeyCFUP8tjY8fxz9i9gaExBiibd9nEHVr+nE4KSfMH9hYAQNowfFudqc UqaeFrBb9NdzuSN2q+Oakq4C7Qu2prFfa7wuD1QBfO+bQlkVBIcScFjRRdLWBQc5ouTrvvfBK gD0h/P1rfnpK2bzlDBD7KM2D0Wp8t1IPZX4Q4HPEwKsmYvtJqkU6IfSTjhN506mLS2McxrTg8 lAj93Y7RehUzM4BJ4wP/TKVTyBHEO2BLg7f3q54U1oPKos4QJ56xYKAjLxjtU3oLFJRRAOEfF oemRQgTwqrgipfahjsq/XHUNp/9zfpOJOOnShPQPhrl0KlaspVdICPPU8mvH4WBQUocJeZWcX eHBtFScFfnSvgidWAqpYHsSFEbHBhpIxmvrJaRiLvPpSf7hWImYB7pKXmprvMve/bC6e97kJA 89lEJeG Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 778 Lines: 22 From: Markus Elfring Date: Sun, 15 Nov 2015 09:34:12 +0100 Another update suggestion was taken into account after a patch was applied from static source code analysis. Markus Elfring (2): Delete unnecessary checks before the function call "kfree_skb" Less checks in batadv_tvlv_unicast_send() net/batman-adv/main.c | 15 +++++---------- net/batman-adv/network-coding.c | 4 +--- net/batman-adv/send.c | 3 +-- 3 files changed, 7 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/