Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751859AbbLZSjn (ORCPT ); Sat, 26 Dec 2015 13:39:43 -0500 Received: from mout.web.de ([212.227.17.11]:56942 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751078AbbLZSjl (ORCPT ); Sat, 26 Dec 2015 13:39:41 -0500 Subject: [PATCH 0/6] InfiniBand-ocrdma: Fine-tuning for some function implementations References: <566ABCD9.1060404@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall To: linux-rdma@vger.kernel.org, Devesh Sharma , Doug Ledford , Hal Rosenstock , Mitesh Ahuja , Sean Hefty , Selvin Xavier From: SF Markus Elfring X-Enigmail-Draft-Status: N1110 Message-ID: <567EDED5.4040201@users.sourceforge.net> Date: Sat, 26 Dec 2015 19:39:17 +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: <566ABCD9.1060404@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:YaHXD44c+Br1aCjH8pXv6fcykUKRWGupZbo9Ro8QoWfuuD4GgnX 49TF8LDl1CW2sBiKy0+0FOIAHT24KHEWv7e7c1iwtJlbEscPV78sRxZR2XvvWwQBCglNWhV njw4/syzGAtJ7aUHkEtLf/v2WCLlpETV5+1BvKLVHpOQOyuBeE9LHXnPngMVfdGl5+WoQl6 Y1K2InICKhPgDnF+74cTA== X-UI-Out-Filterresults: notjunk:1;V01:K0:o7PCE2JeAw0=:XR+21M8kATuA3nPdemQ7sP 5CfyRFLIRGPRuzq/DdJ0gh4vi8UZONXPuOi+Mf0DzVKiZAUAp9HznucTsaQCbLUT+ochdmCjY h+KAqs91GKf71u1vPTnws044ZTJkS7yDfMOYRYq/di64VA2U9D8ose6+9W0s0hwdD42mLDfFA cqysIz9unO4yZr75vBc5NB5lDyhee+n06eriufqdzu6HnnAyecSYUk+AuCbmfoJWSIIUIa4UM vA0TdrDw5hvVUq9+4UV1epvtQ+lZApEW5cJUnrAZcC7Rcu0Sc3Nrdm04A5cTmYYLb+2es/Xah gJ6PmpZaiViOssDfUqhLq8sFinEXSUDgGzd9i1WqPSvzuDynkk/Ikm8m1f9/yR6eIinMm2YWK OSizVBugkGGhNzl/rHw7/RtUd27c3/Mlg3f7Hcx9uUGUpviJyLwmfa+ClAQNU7fyYh9FsgELh 60D5roKcMfL1V8dyRIti0FnrtAwGMjxtkTHiX7/4sdTbyjgXDEoRIEL3nRNYsh7Ilk+SDiwef Iu3mYO4UhYQu0yWKSBk6xlGuZeUMp9HLDkbIPYSSoUptq/kq484mxyAfTehyyyHsdihuz5Ywc T1EwUBohP9P2cXw8IBsqvbkP37y/HxtHUQv7fqORk9qQ3YMyaUfEgbdOZyTCgYABjaj/uK5c7 eZFAjarImTMBj4AnT3SJySQJMdeWlOp3O3nrGQhjHLNeS1Ufk5MXHEON5w5UkntLvB4Di7hHo vlxouHLTLFLOsx/X7u/A9zqPO4op75doaf0V7iIv7fX6SqUvaHNS+nOUmiotYK6io4oJtaYQX eab4u53 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1121 Lines: 28 From: Markus Elfring Date: Sat, 26 Dec 2015 19:30:54 +0100 Several update suggestions were taken into account from static source code analysis. Markus Elfring (6): One variable and jump label less in ocrdma_alloc_ucontext_pd() Delete unnecessary variable initialisations in 11 functions Returning only value constants in ocrdma_qp_state_change() Return a value from a function call in _ocrdma_modify_qp() directly Returning only value constants in ocrdma_resize_cq() Delete an unnecessary variable in ocrdma_dealloc_pd() drivers/infiniband/hw/ocrdma/ocrdma_ah.c | 2 +- drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 7 +++--- drivers/infiniband/hw/ocrdma/ocrdma_stats.c | 4 +-- drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 39 +++++++++++------------------ 4 files changed, 20 insertions(+), 32 deletions(-) -- 2.6.3 -- 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/