From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752125AbbLLOac (ORCPT ); Sat, 12 Dec 2015 09:30:32 -0500 Received: from mout.web.de ([212.227.17.11]:57987 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751032AbbLLOaa (ORCPT ); Sat, 12 Dec 2015 09:30:30 -0500 Subject: [PATCH 0/7] iSCSI-target: Fine-tuning for three function implementations To: linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, "Nicholas A. Bellinger" References: <566ABCD9.1060404@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: <566C2F7B.6030704@users.sourceforge.net> Date: Sat, 12 Dec 2015 15:30:19 +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:GDoubjphv+EnvFbVLx9cTK1mXdklMboqwE4OrzwiiNpWJisfOJg zBv7rGLr8BedZ1xIX+b9Py57wy0onRjD65QE4OwqkmhcOPtbfqDO8wTuKDZN6gubcLMohXl ROnhMTWcx89eB7vnUW/L/pyEiovNCdAjDNyY+aDjSMwQvHzs1dXZTPdHmvCEwbJ+dR+VIhC dmmELmbgRbg/fS/HPG1jQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:ANFPfJKyrDw=:6bEci8B7J8t6EeEFwoxQxq mhwm8FggYBKEseYDTOKLE2ACtd9i8a/KMXOJzeD06k5wCEEsjNMQb70rxVKje3WTmv7acCBHc GbEjVxqduPYFcnC8MNmIecG4hS2P2KO0nO6LhN1b7srv/I3P0PmRHKsj+3m7oTyNiWZQWYE1d nXssLY8FxvKwxo0+hhUQ1jWeNjDo2dRaWOxb9C89GZd2OZMWnrTGkdzDQqSy6z69fYo2SPsYM snZ+JU96JSoo2o4/D6Q3my5iN8A34Agsx/p+DLacsBnn7qU/bB8iFfSajgZU02HEkLmotF7w4 wpe9kPyXjkE1dz8BGHKC6B3VeiacgwkuK2Uo7LtCuJgDzQtYWOZd4t/2B/JMgywTGPfLnIISf z3u48MNZW//4E6NdB2dTFyjvlxx27Vo2ZtqEAqTps+Fa3Guz/l8qpiXCI/1L1pcA01gjNhHBq xDWZCFUo+eVKuanGkvpBN8HAEpCcvtLbK6O14OVP6rQqtFgui+KQT7P2C4JcLkV49OCgTuAxD 0uajApddqf05VZ/IcFjkBdBVWJoeSO/+EbSe+hDX21LAHlPLdVnzS+fies0Fku3PTibDM0rX7 MfEXM6wr0MUUBwd1dzy1kTDjDq2ALiUyvDpzGW9AKju7fvVM7zi2MK7AOE3Vhb/wlMTf2G6hG G+HP/rz+OYMcAXphlfAWYE0hMeVHawMvyTO4KdP0bEUJohEQUwbkR82IsFatvJm3GAQ3wc6F1 +JA1gvn+5496AM7OaybyU2LAVCXSdGJk+wQIP7cEVnpj8Z2YP9ZGOPIfb4i58XClopXQK0A2V b93jrRv Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Sat, 12 Dec 2015 15:25:20 +0100 Some update suggestions were taken into account from static source code analysis. Markus Elfring (7): Use a variable initialisation in iscsi_set_default_param() directly Less checks in iscsi_set_default_param() after error detection Delete an unnecessary variable initialisation in iscsi_create_default_params() Make a variable initialisation a bit more obvious in iscsi_create_default_params() Rename a jump label in iscsi_create_default_params() Delete unnecessary variable initialisations in iscsi_check_valuelist_for_support() Make two variable initialisations a bit more obvious in iscsi_check_valuelist_for_support() drivers/target/iscsi/iscsi_target_parameters.c | 100 ++++++++++++------------- 1 file changed, 47 insertions(+), 53 deletions(-) -- 2.6.3 From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Sat, 12 Dec 2015 14:30:19 +0000 Subject: [PATCH 0/7] iSCSI-target: Fine-tuning for three function implementations Message-Id: <566C2F7B.6030704@users.sourceforge.net> List-Id: References: <566ABCD9.1060404@users.sourceforge.net> In-Reply-To: <566ABCD9.1060404@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, "Nicholas A. Bellinger" Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: Markus Elfring Date: Sat, 12 Dec 2015 15:25:20 +0100 Some update suggestions were taken into account from static source code analysis. Markus Elfring (7): Use a variable initialisation in iscsi_set_default_param() directly Less checks in iscsi_set_default_param() after error detection Delete an unnecessary variable initialisation in iscsi_create_default_params() Make a variable initialisation a bit more obvious in iscsi_create_default_params() Rename a jump label in iscsi_create_default_params() Delete unnecessary variable initialisations in iscsi_check_valuelist_for_support() Make two variable initialisations a bit more obvious in iscsi_check_valuelist_for_support() drivers/target/iscsi/iscsi_target_parameters.c | 100 ++++++++++++------------- 1 file changed, 47 insertions(+), 53 deletions(-) -- 2.6.3