From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752877AbbBEWZi (ORCPT ); Thu, 5 Feb 2015 17:25:38 -0500 Received: from mout.web.de ([212.227.15.4]:55399 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752530AbbBEWZg (ORCPT ); Thu, 5 Feb 2015 17:25:36 -0500 Message-ID: <54D3EDDB.1050905@users.sourceforge.net> Date: Thu, 05 Feb 2015 23:25:31 +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: James Smart , "James E. J. Bottomley" , linux-scsi@vger.kernel.org CC: LKML , kernel-janitors@vger.kernel.org, Julia Lawall Subject: [PATCH 0/2] SCSI-lpfc: Deletion of an unnecessary check 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> In-Reply-To: <5317A59D.4@users.sourceforge.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Jy4TpId/XwMohntpybDzk7Dw4JwhWKmW3iDeAD5d3wC4GtsOhic 8EZiI65DYAgoJ+l8BId9KdPE262iOWw2vSoAghfBxDC+L5jz+LGuKXwm8UHMPvrlIZLVyhj LYXGuAVb/FEvq2qB+E9JQMZg9go9BDypnjp2ZaI0Mij3bl8QMuafDB9SAbUx7gWgNc23oRm VhAqAkOLWbf535vN3Phcw== 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: Thu, 5 Feb 2015 23:17:52 +0100 Another update suggestion was taken into account after a patch was applied from static source code analysis. Markus Elfring (2): Delete an unnecessary check before the function call "kfree" One function call less in lpfc_bsg_hba_set_event() after error detection drivers/scsi/lpfc/lpfc_bsg.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.2.2