Message ID | 20200723122446.1329773-28-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp1148596ecp; Thu, 23 Jul 2020 05:26:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiIv2EVxArT0f+TcF9ipR+a/kAB82rjHC6pH9mBCrPC8720FrTBVrqEV98XqUe9AD0XR5J X-Received: by 2002:a17:906:cd19:: with SMTP id oz25mr4089836ejb.36.1595507184352; Thu, 23 Jul 2020 05:26:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595507184; cv=none; d=google.com; s=arc-20160816; b=lOA5erscDNs2dkRGbhMxCJ5sSLGRU6QL7qcitKxBWG4bxsLE0yL0tnNaAPUxZq1By4 6v82kwNVBcupmfFByzEPGS6XqOInU6WZIVt6xoztJ+O8UTFYj6DpiH4t7eOrDt+4/7Mq h7y5vwPZ/H9zojrtfqda8LrjXRWnw2O/vr3CCdcPvHFUnqkxH0nWFNZUeuVp7Tmtuk/N 29mB2nutc9Q5cAOZE654DtiXkc2ZbIPkJ+jzeeNB9SAF9AInCJ/CrNGruDHGNxYs1s9D 4qNamX3kGARryFNYUFrntpSlP+Qgt6OLr7x80R1LDJY/qLRA7U2CCrGeFT2d2gZeA3k/ fJmA== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1PYc82QmZnWYyBRN6HjG0q6jn6xq3+jiiSrC8xShRHw=; b=yCnTXV8Rb+gBdEPHgq7fhHJyuRWMLK2MCPZ4UaBR+ooGIi/Jwxb20JFsUK7OgJIHWw /h9oXXom8QbArtUdSQFXzt7UopYDPKOIZt/mYHMVEKWFbnAfjwKjClPlieZMXW9o6Rm/ z3JJJ0Vumvfsx8V7jfry9S+FTL7JJ5/Pn9og/48n67Fry0kPzLlheKiTTgDb/53qhhZP qHzxxzE+A6yac1FzOXsziaWXGpjHTF5NS0GlfPMHC8AXyKZXq0AKrn6KxqfwdJQ0kB5K uXK0/uiEBbMHj0gyAO93CHpw3trcsyu24Giay1+PTXh7DC5cKHMQJKvvZDuHAkpBh3pH yNLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=firLoT+n; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-scsi-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si1953465ejb.404.2020.07.23.05.26.24 for <patch@linaro.org>; Thu, 23 Jul 2020 05:26:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=firLoT+n; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729227AbgGWM0U (ORCPT <rfc822;patch@linaro.org>); Thu, 23 Jul 2020 08:26:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729018AbgGWMZY (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Thu, 23 Jul 2020 08:25:24 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4D27C0619DC for <linux-scsi@vger.kernel.org>; Thu, 23 Jul 2020 05:25:23 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id c80so4795901wme.0 for <linux-scsi@vger.kernel.org>; Thu, 23 Jul 2020 05:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1PYc82QmZnWYyBRN6HjG0q6jn6xq3+jiiSrC8xShRHw=; b=firLoT+nF6NP5uE7+rwzyF0eexaFUX6j4RXoRWCBz6fwm1F9siOipBBu+l6A/SZAqN RzQOsrxZlyVMpnEbBw5+3PfgrZCHddC6oDGHkcwuNgkOV332k9wn+tamNuINOLQtP15h apcNbIt/16saNXZZTIcDVmM4flz759qo+WrrYDNv56xmVHDnITyjZFE79Rj3o1ANkBQE nFwmTw85LwCzCAXbhD0Sjbuh9WUjU0UNQOBcEfWiTZrj4eTdDeg2a6uq80zOtVEk6yEh SY4hbFsGjBJ+q8EuwsfkEsvLXs11S4efCbIrAQzgUdean0xxF9c0iAtbpRZtY8lFtwqm CGBw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=1PYc82QmZnWYyBRN6HjG0q6jn6xq3+jiiSrC8xShRHw=; b=EtfOroxgt/Mgpwk8pRX0SQSFmGdxeZaw8Oe5fUeE/v6U/SWYWXlUCLVpagwjsTlwfT 9af9iSfVcx3IPXohWp13BMv6DMdnv/0lcVTW0076/oUbAeptjbXZCmyGGeQIvN7wqodI nMWOOw7+pnZEb8zvshuV02mIHfwEPmQw98QUnJJH5DAoD7WQIjhB1QXPY/j398FIj8Rc QZ3DlvSfBD2H1MDlAkeIpYWQcKNYebAa+SDmKt0eG0zGnVzwb60YcrFNeP8MtfA3AZ8Y vT1p/WFn20KsL/lNjESc3/Qg56juCCkRk0PZpr0iSP44lwiKjO3Pd/JwlybevPC2GEaW Fd1w== X-Gm-Message-State: AOAM530qatxrukwgsDez/ZbpmGnkqqYHju1OYptTeE/W1iwGje1HyTgg uuzfMEmIu2lslyjztM7EdogE/Q== X-Received: by 2002:a1c:5418:: with SMTP id i24mr3820464wmb.47.1595507122467; Thu, 23 Jul 2020 05:25:22 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.73]) by smtp.gmail.com with ESMTPSA id j5sm3510651wma.45.2020.07.23.05.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 05:25:21 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, Anil Gurumurthy <anil.gurumurthy@qlogic.com>, Sudarsana Kalluru <sudarsana.kalluru@qlogic.com> Subject: [PATCH 27/40] scsi: bfa: bfa_fcs_rport: Remove unused variable 'adisc' Date: Thu, 23 Jul 2020 13:24:33 +0100 Message-Id: <20200723122446.1329773-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200723122446.1329773-1-lee.jones@linaro.org> References: <20200723122446.1329773-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
Set 5: Penultimate set of SCSI related W=1 warnings
|
expand
|
diff --git a/drivers/scsi/bfa/bfa_fcs_rport.c b/drivers/scsi/bfa/bfa_fcs_rport.c index fc294e1950a62..143c35bd668c2 100644 --- a/drivers/scsi/bfa/bfa_fcs_rport.c +++ b/drivers/scsi/bfa/bfa_fcs_rport.c @@ -2240,15 +2240,12 @@ bfa_fcs_rport_process_adisc(struct bfa_fcs_rport_s *rport, struct bfa_fcxp_s *fcxp; struct fchs_s fchs; struct bfa_fcs_lport_s *port = rport->port; - struct fc_adisc_s *adisc; bfa_trc(port->fcs, rx_fchs->s_id); bfa_trc(port->fcs, rx_fchs->d_id); rport->stats.adisc_rcvd++; - adisc = (struct fc_adisc_s *) (rx_fchs + 1); - /* * Accept if the itnim for this rport is online. * Else reject the ADISC.
Fixes the following W=1 kernel build warning(s): drivers/scsi/bfa/bfa_fcs_rport.c: In function ‘bfa_fcs_rport_process_adisc’: drivers/scsi/bfa/bfa_fcs_rport.c:2243:21: warning: variable ‘adisc’ set but not used [-Wunused-but-set-variable] Cc: Anil Gurumurthy <anil.gurumurthy@qlogic.com> Cc: Sudarsana Kalluru <sudarsana.kalluru@qlogic.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/bfa/bfa_fcs_rport.c | 3 --- 1 file changed, 3 deletions(-) -- 2.25.1