Received: by 10.223.185.116 with SMTP id b49csp2332835wrg; Mon, 5 Mar 2018 00:35:39 -0800 (PST) X-Google-Smtp-Source: AG47ELsUI0rrF5kyu+klBxCMLxNqUyOR+R5CMQ2XtsUSn2iNOE9ffim/hNOyN0WzhgsJN1WeeY+S X-Received: by 10.101.99.90 with SMTP id p26mr10376046pgv.135.1520238939546; Mon, 05 Mar 2018 00:35:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520238939; cv=none; d=google.com; s=arc-20160816; b=Ac5aaM2cshO6GdtdFRi6KntfRtDnOY+8PMC4fwAm1LLn0SBDSgsBtOI8BGBajaNgMm UpfH04axJM4raRCORoaSHSevmg9NsmP7EIfsRHti4CfpiLHoTHSkupCYnWZiIyWJvH0v iptunKV1yYLGjbXeIUbm63NUjxt5ksWxMi53/xXvMnndBOq0exHaXXvKC3zx7k4TGXvM DU4tDe+T7wXrkYb4eF4OWS+758Ttp4sXUyYTnSDBuF8fYkj/PV7L2rccRITsi6zDOBXS DeDxCKtjElVeL0qyjojZnBZpCDVZFXXkd3A8SM/O3J9/S2azSh89kH/MuAd43A549xdV 4xag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=MXVHdDJAGuNhnD1HMiQnPf3eb+bs0xLZiS/9MXms/do=; b=OQb3QRX+HSrdLAggn7ajVmI2nKa+Nnlwpvsd3IHAWBfMD98UIq1JG0qNRm2PAp6fZR Dt0X+mUwDbApk0bWe5YvIVCC7khaAmhirN0TtZpPl4311PKvyvo8CaYqLWkb07IVD9t5 hRfedw6LcI/agEoCLeccgHkTpuIyQNLhYTgk37fe0q77Kkc0imHO1jLJ9D7AS21viwva hx2q2yjg8ZeVq6ecBGhITsZubldS3mbp+7d2mdXVf5lhlb5DK+cWT5vD/ze2+y8RZ0Qe 3cVZLHdc92HEr34Flr4V8fUlk1cotxK28hNbAQOf3vFp4eJOToxDJnPT7vvh2bgYHRtw wogQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si6305355plb.607.2018.03.05.00.35.25; Mon, 05 Mar 2018 00:35:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933046AbeCEIdv (ORCPT + 99 others); Mon, 5 Mar 2018 03:33:51 -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-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; -- 2.16.2