From patchwork Sat Oct 14 12:03:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christos Gkekas X-Patchwork-Id: 10006375 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 4DBDE602B3 for ; Sat, 14 Oct 2017 12:03:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 407522853A for ; Sat, 14 Oct 2017 12:03:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33557291DE; Sat, 14 Oct 2017 12:03:26 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 E5D0D2853A for ; Sat, 14 Oct 2017 12:03:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752961AbdJNMDN (ORCPT ); Sat, 14 Oct 2017 08:03:13 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:32813 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752767AbdJNMDM (ORCPT ); Sat, 14 Oct 2017 08:03:12 -0400 Received: by mail-wr0-f193.google.com with SMTP id z96so2198558wrb.0; Sat, 14 Oct 2017 05:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=aOfIg4/9krw+1/XTC/+4Pux4k1Uj42KaAbum+hsvccA=; b=ZXISi0RpN4dqE0WYMaC60IvyG158tBql+Q8q+aSuZPIQFL2zwCWR8mKoQEzD8rxULP 3xPU7iEoxqN0Vuwf/VHO8isniGe7MurId3JEQYvk5OubCfpEHMWwEYRcesI0O++mHG7u P1FGFAVIuuAQar5F+T3AIb0Q6s3Jm2eAnfh+7lBYTCpwn+zdqyDfsHdXX1nQvX8RdtUB 6jC4K0McJDWOPbo/caaaHlckhqHwbizV137Gq358bRhzhat2Pi2UC2nVDE5xs4dNbHKe qB353eGWr7YPw2rr9g3grpMn2HuAxEzHoukXocUTGsXLIoG8hk2LpJZ2Z0cc6aOgGCsm 1qyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=aOfIg4/9krw+1/XTC/+4Pux4k1Uj42KaAbum+hsvccA=; b=Ub2HSsK1L7wVXPtaY1FNydhrhPYQwCH6wsufAtC0AULHDEsc1wFqNbV6mqiuwv/PR2 2LY9ZdSuoL6L7CMwsgZMRoERdl9PzOQyzfZR4UyhgJe58OzztZnFtqEI1hwrdvmwXt6c 0UKeEevAxb7nD7eRTaJRmvDlyw+mtS1ekY3Psyfc6nePaWhdX45EvqJq/rHD4Cqtodn9 CxDPFZ9ljB/X2NWD/tYNftDk+icQtztEIP0HWg/w93eq1sdEvIcE68mvoUsrc1Z4W6Lt IYn/Qe2qbimyEFfibQLUZnQZqvsHZcBFDklH+g2VqOblL71HlG3Wuk3nW1+ObAZsExpv R33A== X-Gm-Message-State: AMCzsaX46uEKNl+wdKcmigcPSBDEOhiloPPsOYErhFu7yL0sXq8icWAV IaUR7ZGDuXSf9e/sgb98TrY= X-Google-Smtp-Source: AOwi7QAXvSiJV9kS8NW5wdmAzs2yxAbE1VsBU3Hy3doTZ1mONq5TqcyTOAfqGZ7myt5gS2OkPSRE/A== X-Received: by 10.223.151.9 with SMTP id r9mr4076933wrb.238.1507982591196; Sat, 14 Oct 2017 05:03:11 -0700 (PDT) Received: from inspiron ([2a02:c7d:5e0c:c300:4c41:282:53db:800d]) by smtp.gmail.com with ESMTPSA id w5sm1637317wrg.65.2017.10.14.05.03.10 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 14 Oct 2017 05:03:10 -0700 (PDT) From: Christos Gkekas To: Matthew Wilcox , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christos Gkekas Subject: [PATCH] [SCSI] sym53c8xx: Remove pointers scriptb0 Date: Sat, 14 Oct 2017 13:03:08 +0100 Message-Id: <1507982588-19955-1-git-send-email-chris.gekas@gmail.com> X-Mailer: git-send-email 2.7.4 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 Pointers 'scriptb0' are set but never used, so need to be deleted. Signed-off-by: Christos Gkekas --- drivers/scsi/sym53c8xx_2/sym_fw.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/scsi/sym53c8xx_2/sym_fw.c b/drivers/scsi/sym53c8xx_2/sym_fw.c index 190770b..91db177 100644 --- a/drivers/scsi/sym53c8xx_2/sym_fw.c +++ b/drivers/scsi/sym53c8xx_2/sym_fw.c @@ -295,10 +295,8 @@ static void sym_fw1_setup(struct sym_hcb *np, struct sym_fw *fw) { struct sym_fw1a_scr *scripta0; - struct sym_fw1b_scr *scriptb0; scripta0 = (struct sym_fw1a_scr *) np->scripta0; - scriptb0 = (struct sym_fw1b_scr *) np->scriptb0; /* * Fill variable parts in scripts. @@ -319,10 +317,8 @@ static void sym_fw2_setup(struct sym_hcb *np, struct sym_fw *fw) { struct sym_fw2a_scr *scripta0; - struct sym_fw2b_scr *scriptb0; scripta0 = (struct sym_fw2a_scr *) np->scripta0; - scriptb0 = (struct sym_fw2b_scr *) np->scriptb0; /* * Fill variable parts in scripts.