Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3118731rwo; Mon, 24 Jul 2023 06:36:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlGWYIzkH2v57QujIlUS1S9xTQQm9ejTaqIA4nIBDtYZs20hvFpJYnaVUzynhvhUQwdpCJSS X-Received: by 2002:a50:ef1a:0:b0:522:30cc:a1f0 with SMTP id m26-20020a50ef1a000000b0052230cca1f0mr1937807eds.14.1690205769900; Mon, 24 Jul 2023 06:36:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690205769; cv=none; d=google.com; s=arc-20160816; b=avyWc6TxJfveFArRaKy/G7AEw3EMYias8RwZI4r1Mfb1P7WyuF6VoIGSvNjR0mApLE l+cKvvAPfk+w4DXDv8lVDr+ekTGUXCqtB/YLlDSm0X/vqPfYEdRZcpgql/ijoE5YScM1 hqo70Sn6Y2JEPqEF+rs6dZ58NwIA6u12OEyKs9yo15CRdggiYL09z9frXxuiZUvt2SNU sJNSR0EXqd7fhipkUQzO1RDvJPGZnlKiJgNkAjMthfAxg5TKk5XZYJLY6lbl4/ZDzb85 n1GrZNVxPvIakwO4E92GLyX6QpfiK94UWzB5f2qRHSz58lN3uCRMmqXohpW/p2rfl4Cb yGVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JUZMLWwbExuFdlEvRYpk2xczQU4aMWezrak/JAMX6to=; fh=du1e2PUv0exSnvFSzPbBQ0axEOCw7cpNjONMw/+g2Kw=; b=MwhHZi8x3Te7pU2ecpKdg+U9vlVR42ViucAe9Kqb4MQGjuktc1clqy+3fcHoX5SOFR QoBy8/iBKqflDkURuJoUVVKunXCqUDFTPi9yI7m6LjFeoPQ2KKNQYCDr56ZGR8Ep5vsW kc4Qg464imOJNpMg86+np6hNX3Np/CRGN/9JYilSHBk2A/EEmXevdrvXNg40cxGbj7/d qgk+r2zP14lONYVW+w80KIoxouxGgg0N4ht4uneFA98y4Wvtc+eWKIc/6/z1VX354Tw1 iVhfY9CnFYJLVFrRY5UfnjKJqyulUwPxSQSqs7nmdIqz/Pt7uENkAQ3e6D9VByYDH+UD bxvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cbbdLJgW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j25-20020a50ed19000000b005222d573a77si1391746eds.158.2023.07.24.06.35.45; Mon, 24 Jul 2023 06:36:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cbbdLJgW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231250AbjGXNG5 (ORCPT + 99 others); Mon, 24 Jul 2023 09:06:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231171AbjGXNGy (ORCPT ); Mon, 24 Jul 2023 09:06:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44B88DF; Mon, 24 Jul 2023 06:06:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BDC2961176; Mon, 24 Jul 2023 13:06:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2D9BC433C8; Mon, 24 Jul 2023 13:06:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690204010; bh=ADbWdiG5m7FC03JjNyoWb5nYouhnLpSkLMz/+0jVixc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cbbdLJgWpYJmTeYwWsvBtIvOSgmHTuNrSeq+un5zt6ujsvmGj/v76uJoEl/DqeOKa JejTNY2t92wGwpjklGy/1YzQCR78h8CFqsRRwH5UwTCxMzE3FbQ/qibEJsuVR+4Gz7 sICH6+LmGaARXwy6JJFdsqFAEZbOHJT0suI+X3xXNRyr6ea88xAg65G3AGinLAIHv7 NtzNiBy7IF7dL8ZhEA3YwNfQQjf4x97lNNiPj1sSoCgvJvEaTYgNc3PEJc7qogxH+V yfATcxtZ3sA9grzx2VfwbOavX9lb04V+fVO8y6SoxPLlfRrMmUhfZpZ97paZ51M196 usS4/n+111Ujw== Date: Mon, 24 Jul 2023 18:36:33 +0530 From: Manivannan Sadhasivam To: Arnd Bergmann Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Manivannan Sadhasivam , "James E.J. Bottomley" , "Martin K. Petersen" , Ziqi Chen , Can Guo , Arnd Bergmann , Asutosh Das , Andrew Halaney , Abel Vesa , linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: ufs: qcom: remove unused variable Message-ID: <20230724130633.GN6291@thinkpad> References: <20230724122029.1430482-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230724122029.1430482-1-arnd@kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 24, 2023 at 02:19:58PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > A recent change removed the only user of a local variable that needs > to now also be removed: > > drivers/ufs/host/ufs-qcom.c: In function 'ufs_qcom_mcq_esi_handler': > drivers/ufs/host/ufs-qcom.c:1652:31: error: unused variable 'host' [-Werror=unused-variable] > > Fixes: 8f2b78652d055 ("scsi: ufs: qcom: Get queue ID from MSI index in ESI handler") > Signed-off-by: Arnd Bergmann Reviewed-by: Manivannan Sadhasivam - Mani > --- > drivers/ufs/host/ufs-qcom.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/ufs/host/ufs-qcom.c b/drivers/ufs/host/ufs-qcom.c > index 3ee5ff905f9a6..5728e94b6527b 100644 > --- a/drivers/ufs/host/ufs-qcom.c > +++ b/drivers/ufs/host/ufs-qcom.c > @@ -1649,7 +1649,6 @@ static irqreturn_t ufs_qcom_mcq_esi_handler(int irq, void *data) > struct msi_desc *desc = data; > struct device *dev = msi_desc_to_dev(desc); > struct ufs_hba *hba = dev_get_drvdata(dev); > - struct ufs_qcom_host *host = ufshcd_get_variant(hba); > u32 id = desc->msi_index; > struct ufs_hw_queue *hwq = &hba->uhq[id]; > > -- > 2.39.2 > -- மணிவண்ணன் சதாசிவம்