Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3058776rwo; Mon, 24 Jul 2023 05:47:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlGjX5vc75iOa/838f10iw5Oi/v1Z/4nO2FBwSxgCrpT1OmkVhxKZKAqtn60wb6DQXWYJwZ0 X-Received: by 2002:a17:90b:d8d:b0:268:1c7f:c041 with SMTP id bg13-20020a17090b0d8d00b002681c7fc041mr1860968pjb.29.1690202866119; Mon, 24 Jul 2023 05:47:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690202866; cv=none; d=google.com; s=arc-20160816; b=EfWjvR3BAuPEij0Gp3Ydh2COWkICZT2ZuTP+16O0A0ZTNRAY8S/rVXdb5qATRvbIL+ vtaL5woJ+Wc/j8kGmK7+eO+ffoEMwwvQ6kj1xfOB89rlftkZjZeG+dcPmtiiLbFDc473 vHENfCx+gbz67/VJ+x/rSZfmWwzfr48KWQj5jo0Ac26ArPdcBcrGkmKQUnDTlMbGu9ak 1NlL4mXqBlatDUTaRy0Lo5UEbQnySP2jIhcFrcGt83M5f9QQjbObIi/h4xPFgY+fcc8g csc8QxC9yGp/rI4HJZbAESnKeo/RGSaHYYoq9987bmwFjB+V+rYmfj/kcZQTJ6F9HUXj bgJQ== 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=/UW5QG5EK8EFq9Kf9r3pRK64G0FJddSL3ap9VTpE+yM=; fh=O/x9cqOce+JBO4irH7r+HAt8TJXgPJeOiIycF1xaoGs=; b=ZVdwLjQx/hbsRglEYeGPC2x6BSqEUriBv+ganHpo6Z2fMRIQHIYr3jU4jjqrv5HNEb oPzdw5I9rt/Rr18Ltm49lUdpoQ1+h8lqiB6Xt1vYfJiV4id6TSD3GElmh6A9DK0DPpNp amr0v2jotVs/f/QyTkDFxfEMbrYybX3iRrTDDGrkWPCKH15laR0hOatrZGDcGybC8QZ4 8rZVX30dEMGdQocBWy3g8NHdUFlh+9HglZ1E+81KeNoVfcDBiWBMj3Uwi65s6Kh5ca0s FwOI6S3vBt47d3EkiQu7bxcLrDUCCYgsgA+wnbcSm3waUjLKWchTO2Odb4ZG6/qlO+Sm giJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NjyBNzn2; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w21-20020a639355000000b00553ebb05d26si8856818pgm.108.2023.07.24.05.47.20; Mon, 24 Jul 2023 05:47:46 -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=@linaro.org header.s=google header.b=NjyBNzn2; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229828AbjGXMb0 (ORCPT + 99 others); Mon, 24 Jul 2023 08:31:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbjGXMbU (ORCPT ); Mon, 24 Jul 2023 08:31:20 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1F78E74 for ; Mon, 24 Jul 2023 05:31:18 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-51e28cac164so11101752a12.1 for ; Mon, 24 Jul 2023 05:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690201877; x=1690806677; 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=/UW5QG5EK8EFq9Kf9r3pRK64G0FJddSL3ap9VTpE+yM=; b=NjyBNzn2JvnSbPJ4WJpFzGjKjs0qCPoaEzSaS7SB3P++lH4FGNylZcfl1YhnJIfNnz +3yFjDcovv38bjI7MDj8g+a4bxnWQTv5KQuIc0MEP8FNPf5yChr5p/E3JSl+EVn02BfV CH02cmkaLcWzPGILhn6zYpIuQ3yzVcQwvgX8UTSzgOVhjoEMqf1xrmT5SZG0oNzCcTLW jWmD1R6STVN2reTymIbKGAvMSZf10Na+4kS+yrjSnAYECFTT6+NKct15E8ryT9H/wNnc Gpn8aO6F/yBQWDpKuBusKwkPhWsED2k0cWj137ehpemOWeTs7I+fUwcwQzNDXXYpoIfe 0xWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690201877; x=1690806677; 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=/UW5QG5EK8EFq9Kf9r3pRK64G0FJddSL3ap9VTpE+yM=; b=ZDU80BhZrzJRwF/BQ+iiK9idheKEce3tNngPBszoxLGCE95BZg6NxK7Xm8EIm0Sw4S Pd54WhbFgWrQGO6QRX/Q2CWHY6BB38m8O/oLKRjybCUZHwk1PQ6Bnv/FdbKkuoxCSLTl zfZQEYt4rSA9jaj5HWtem+Dnr7SzdWxbb6eHCtnmzmxetEjn///wQdAysXOuhb5CmA+T on+g9gu44DYI+3J9bLnlSBXkbHY2x3hbDZIw0XlMbJrLeyIF3JUeRKBbYu83pxu9CLpW thkWz/c1MBfSVv3yK6PDV5BXbjgHWB1bYCwVz0d16kIfRmqmEcUYvcsinSIIHQt3pOak foWg== X-Gm-Message-State: ABy/qLYbz28S8sZGCax/35Cd+VX0tdltXMQiyeaFKjUFoWCpyLrACcG2 RZuJWXdpl32/SMMaFfvAsBQLaw== X-Received: by 2002:a05:6402:3492:b0:521:ab08:46dc with SMTP id v18-20020a056402349200b00521ab0846dcmr17628048edc.0.1690201877137; Mon, 24 Jul 2023 05:31:17 -0700 (PDT) Received: from linaro.org ([82.78.74.213]) by smtp.gmail.com with ESMTPSA id y19-20020aa7ccd3000000b0051df54c6a27sm6119079edt.56.2023.07.24.05.31.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 05:31:16 -0700 (PDT) Date: Mon, 24 Jul 2023 15:31:15 +0300 From: Abel Vesa 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 , 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: 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 23-07-24 14:19:58, 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: Abel Vesa > --- > 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 >