From patchwork Mon Mar 5 08:33:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 10258357 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 29A2D60211 for ; Mon, 5 Mar 2018 08:34:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1974128972 for ; Mon, 5 Mar 2018 08:34:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D6B628975; Mon, 5 Mar 2018 08:34:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7384028972 for ; Mon, 5 Mar 2018 08:34:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932931AbeCEIdu (ORCPT ); Mon, 5 Mar 2018 03:33:50 -0500 Received: from mout.web.de ([212.227.17.11]:47469 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751395AbeCEIdt (ORCPT ); Mon, 5 Mar 2018 03:33:49 -0500 Received: from [192.168.1.2] ([92.228.188.109]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LzsC7-1eg6OQ1jcJ-0150uR; Mon, 05 Mar 2018 09:33:37 +0100 Subject: [PATCH 3/4] scsi: hpsa: Delete an unnecessary initialisation in hpsa_big_passthru_ioctl() From: SF Markus Elfring To: linux-scsi@vger.kernel.org, esc.storagedev@microsemi.com, Don Brace , "James E. J. Bottomley" , "Martin K. Petersen" Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: Date: Mon, 5 Mar 2018 09:33:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-Provags-ID: V03:K0:s21ow7SPSDkODZOcoULJ9qnoY9P9W39VFuYes2K8s48ZBTXeczU 5qVuWNb2kJWZhiQfnriZMvS+aTm6Ofuy7bHtnAMgOhTXX4X+J1Nn5ZZ+0UBZQncv06SnF7v 20K+9U/mqDrS8rvHu4/8jgth8Px9/Iz8I/WrskIHcgu6Xt7JKwRZ0c1IZjWR30nQ2UUuqXL G7glcvkvwCyJARQ2OtNiA== X-UI-Out-Filterresults: notjunk:1; V01:K0:xPUA2bZ8WaU=:FGeCceqvdf6i94fuvBubv0 GecJPT+DGBNxBw/KORET364Uy5GAMKtfKDbEM/Rx+DLjZYVtE49NJsvkQDREdKgf0o6JxBno6 N8hpKVEm2MgyvGKN0ynl3Niyx6VzhEbv5jmCnlBsrPpxFKx6KBZLVlFXuXdL8X/Xy1aPLAH/h ye7OylqxCdb+iapHqYUiG01Hesyxzpgz674IgDLI64dbPOkE/mpCpHV1JkN2KLmno4MK0NjMv wo/N9rcb5dKoMCWZ+3dsPC/mlPMcEW383A9GUv7OoGDZY3pbKfgbjQeqToE19/P5UWRwG9nO5 H4Q+cIQS9NRNR+hqQjIoF8d4/SHH1abjyD1/ii3VQXgGjjMr9QOX871kTKrE4UwacHyBGSXam OyEqIx3gJBrhs5OhTjKil+gxcnbph+0DGuvHigBtDYeWM0k4H+r3IfG/KDPy0Xyip68z2TTAE 8bu9kQr3WS2Yj+kq3Agd0yBvCuUqmb5jpje/xgvq8mm2ewAlAnraCWNFlczvdLR70XX8EhEH6 YCJpzOBDQAzHMm1RUe0E/65CRxSoWmiXG+VlzLwHIgDFbXnrjrI95EMoNgtqq9ELFqY1EAVpb Kr1ALPco06b2+EqDyYIDPYh4rkOfTumJs+kgzdZmn3HTmXryf6IcE3jaKeaXW6mRa0sE+15mP uhifE/k9QbC5VlawrRsNNUmaqog+M+VsCxyIOxaHF/0q03GXhczHP0vNrM8Lgy39aoc/iT0Fx mTbnukZrpGF0/ZlIWsLx1AVC/e+qg4p000lLNIda31uvx740LZMgUhTk/B7NOenw7qZG0R+GB +1EyizqhK01ZcJDhk/okcBRlCcZ0BgfQ4m0c931gXuKIEatrS8= Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sun, 4 Mar 2018 22:02:10 +0100 The variable "status" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/scsi/hpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 45177ead811f..86d371ab39e7 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -6381,7 +6381,7 @@ static int hpsa_big_passthru_ioctl(struct ctlr_info *h, void __user *argp) int *buff_size; u64 temp64; BYTE sg_used = 0; - int status = 0; + int status; u32 left; u32 sz; BYTE __user *data_ptr;