Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp246395rwb; Tue, 25 Jul 2023 15:17:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlHPW9G1uSaz6RG1LYbzhW5Zfopfb+zYPLc52VkuVG00G/6woFE1aIRXIhf7Lx/Oho3b8ltl X-Received: by 2002:a2e:9c59:0:b0:2b6:f1d5:619 with SMTP id t25-20020a2e9c59000000b002b6f1d50619mr66736ljj.14.1690323440569; Tue, 25 Jul 2023 15:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690323440; cv=none; d=google.com; s=arc-20160816; b=zxsvcpk4JEwfDQZe31YpEEX0DAInNPXWcDMPg2LYhS9KDlKdm8XAJCkZA3RtVF5rIL qZMy7zCoWLSB4WJUU9fTaVWJNqNpu+ZHwB2MQ2ovV7piC9lCqo3dAMtpqTHjGNBxH1EO RRDQM6rn6k4o0hWdu+1mcGBw5Y57Q58BM2jYZTzrA4CxKWr8eFDvpNYDhTulZuHVrs1I exZno5YbIdiEG4qrnWHrE3a7HNO+n8vUI5LlyQInvm+MHdnX26YPRt4bdYyiIShmidwz QXxEJi+bNajJvuWG7np5g6MWxDu0G96OnQHxCvP89sXEq6nLbbyZ2cfTzRW3H0E1oOXj 7n/A== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FKEGWqR+0CcbBPqsp+sUK+ljfwl+CRQxiq3hvwMVKVA=; fh=seimSiH3G1qN8mP1TJ38vbc6spFPDsq/Qgar34AZqI8=; b=gsKoKDTkIfe88j4M7gqdPqheN1t7qSkdWaq/gcEg8K/BAk1c4U+5PptH3YzGHER1vG naXszcI4Djh96H4sNMAMO5U9DbBWRnDMorQl5oFGCL7MLRv0BHlqJTN35fQ+CHSgxdjm eFj4n4bV9HhXiaNugaB6TKGG29rG0gHNKzlzQEBCc6R9Awug6N+BE/jP1KUQTduGUdo5 klMzcGpMTmVqchmn59LZBaPaQCOLv/MQFpXq+kEPa56FhtCECj2KgPrWkT7boARhOa3u LVDZP7tQMqlPHRrdf8Tj1sfZ19t3wBCCsloEd0rjhtYj6aDRmvkFQG6LrAGHJmwyNEKT BysQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=Ezfa2u2H; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ks27-20020a170906f85b00b00992e90ca00dsi8600962ejb.16.2023.07.25.15.16.56; Tue, 25 Jul 2023 15:17:20 -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=@google.com header.s=20221208 header.b=Ezfa2u2H; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230500AbjGYVx2 (ORCPT + 99 others); Tue, 25 Jul 2023 17:53:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbjGYVx0 (ORCPT ); Tue, 25 Jul 2023 17:53:26 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76B8E2137 for ; Tue, 25 Jul 2023 14:53:25 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-668730696a4so3470754b3a.1 for ; Tue, 25 Jul 2023 14:53:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1690322005; x=1690926805; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=FKEGWqR+0CcbBPqsp+sUK+ljfwl+CRQxiq3hvwMVKVA=; b=Ezfa2u2HhaeTgeNqBXH8xd9D2MI9qrfjH69Xx0NPM6zHyCWs9yXApqOJjRZsQ2UDbz W5bfiOhd1Fb85DDr8JX3eRtQglvAbMRqN3GnL/Ub5AiuUZXguuhlCyAAGo+cPMdCU/+e xaU/5GEExeo0ujzemcSnB48J8FP8ET8E5sJ1b8ATpaOKJqBUt4egPXvjvxAwEpMcaZku tE8gf9AgqNJGWst37Eld3kg6IjbjwTyiXqocqs20vIJ977nLEJO9d84cPSSSS6vcSPyN g8dBcW6QgoMaVclfJ4fQ+sO7HEAjj8N9XOl65pRVUTqID4zH0pi4V8vz3CcGj7r4WGRU 3eYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690322005; x=1690926805; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FKEGWqR+0CcbBPqsp+sUK+ljfwl+CRQxiq3hvwMVKVA=; b=EKV2tRRiG3EOyBaLkPOwJTsfBClFr9CpYEPu1fnESxSpNFg8EZpNIKNZdsk0/P9K0g sZb9hZAjZXm5BVmiKGu60p9Cd1UVYinbW2RPlQGfhJd/ORjnqisI6RO7+p8/Jiv4ht+h l56Fiy6y3hPdyq2I9tUq8Js3cCV7OhQ6OndL+r6aabLONizzmJjuunGZwyTXTtkHUAZI vkwedEGcN9ts99LdoO21jeKP8td+uHAhYO3oaiZ1Jia2FRlf6k37pMj0h/6d+DlgWfJH FHgi3SdOwHGQ1Da+GD/Gn4dWz8bUqthWzJQdyaCyUYmyYaqdmZ+rJ8PClSxwvOxAORHn opBA== X-Gm-Message-State: ABy/qLa6eHJ6CvtEcArv4CuywIIEeffAc0nrYVIasnMYGZF9C3mJI6RG RDScFnwCVVMxrTO4LuQwn0o8YQ== X-Received: by 2002:a05:6a20:4406:b0:137:3eba:b7fb with SMTP id ce6-20020a056a20440600b001373ebab7fbmr343053pzb.2.1690322004749; Tue, 25 Jul 2023 14:53:24 -0700 (PDT) Received: from google.com ([2620:15c:2d1:203:a7a4:bf67:c9d5:c1b7]) by smtp.gmail.com with ESMTPSA id i21-20020aa787d5000000b006829b28b393sm10097875pfo.199.2023.07.25.14.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 14:53:24 -0700 (PDT) Date: Tue, 25 Jul 2023 14:53:19 -0700 From: Nick Desaulniers 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, llvm@lists.linux.dev Subject: Re: [PATCH] scsi: ufs: qcom: remove unused variable Message-ID: References: <20230724122029.1430482-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230724122029.1430482-1-arnd@kernel.org> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,FSL_HELO_FAKE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=unavailable 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 Thanks for the patch! Reported-by: kernelci.org bot Link: https://lore.kernel.org/llvm/64c00cd4.630a0220.6ad79.0eac@mx.google.com/ Reviewed-by: Nick Desaulniers > --- > 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 >