Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3053742rwo; Mon, 24 Jul 2023 05:43:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlEfPaADVhmfVoFRNJUjyA13MJWO9j/W9KGBJrPGZ6HcMuoxQ9D9X+vCDYgOIdUAnQ++luZC X-Received: by 2002:a05:6a21:6811:b0:136:ee92:9c11 with SMTP id wr17-20020a056a21681100b00136ee929c11mr11142771pzb.31.1690202585900; Mon, 24 Jul 2023 05:43:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690202585; cv=none; d=google.com; s=arc-20160816; b=MPm1A+ePqskMpii+WDV2wlpxzHy49kuWw5rwX9PKFhfwQVy4Iu7/lsCbQvsG+XeB+J cFOz4g0eqXnKKPShzxtrE+/A8TJg8qoVZJytrCW+lyjfBdtxFyOqGQZPZkmmLykTqTEb fCBL1rU+GojAUcESEnIVLnEesnKwy/W8oh7H7rt3EE5FUVGxM8G70s1KuP4esZUYx5sD TBs8PItHJTcJWfJPYgggfyAVujBTyHNc7wHdaCWL5Ca85IAw799WeT/BB4xQSedo2Kcf 09rPEaToT7hYvqicWX+N1tZTXlv/3DttQUFrm4qACPI05nfoGqE+Xk/AKr0gaG5sMSee Ookg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=VxR1W1m5sPZ5G7feNdM5A8fhqDz3Hvvg85Jjr/HWJkE=; fh=hSww+2nkiWfnj2mOSlizTSttIN8jAKETOSstpggsZLY=; b=Zp+hPGLUg/9dweI19ni3h7qfnCUA4Lo93gNU9G+7owQF9mTM+9smjbCnQFRgbOwmnf uyEwqUgn1pwZscUH+6HfCG3WZ3SvsGoQjiPD2Iuog9Inm2V8SuxJOsaEXuzVde52c5hd QSPB26P0CpFfXUrOfdJjtyfiy/5hTEWHoy2ooNjSM/dADtwsSoNRwlzXeGdbukhUI+cl dgouTGCch7rk6lz+UumZ6hRahKyMxmoTWPy7bnjTo/4M5DYFA/cOEKlNK5bgxsOAiSh8 w4UK7vzNwvbHH7JXs6Fay7IORhjzB9uC5iJcLxwHscUXFGVXOvQYRcEuMndFytCl/pH5 qNBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="r6er/ayW"; 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 cd21-20020a056a00421500b0067af445c0dfsi8769469pfb.290.2023.07.24.05.42.53; Mon, 24 Jul 2023 05:43:05 -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="r6er/ayW"; 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 S229703AbjGXMVA (ORCPT + 99 others); Mon, 24 Jul 2023 08:21:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229866AbjGXMU6 (ORCPT ); Mon, 24 Jul 2023 08:20:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EEBB13D; Mon, 24 Jul 2023 05:20:37 -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 A755561149; Mon, 24 Jul 2023 12:20:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA628C433CC; Mon, 24 Jul 2023 12:20:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690201236; bh=TZvmwAFuS4u+vLp3XBVWaUA/bTmykDSIMnh6Tz5bu+0=; h=From:To:Cc:Subject:Date:From; b=r6er/ayWEK7YxoMzdWjRyaig5T7E1A4u6f3j/u5DAVXNGwACIEqB0A6NIGTsE91xt oSSIKI/KWVhXMfkFwa7zn61kNTxz5qLAeC44plpJ9/fwvcTthqvyWfVsul8Rf4RM3v pT3isXuR7vmhKtehn3GOCKvob0ET5OyNEP0/ky7oCWAALPN6oX4AaaD00siWvllTGG IdZgZYBcmFjxfHuyxw4X0ingZiT7l8A7xHYnIv8ejNVHnEuuXp7wyd6gAMK8132NEq V/CB9P9KaaJLs2l6PS3YEEvbL6R5fc6I/+j2CMHIAakw+xrO6Aibw3hq3uGMPvygcG JeqeniSZu1dRw== From: Arnd Bergmann To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Manivannan Sadhasivam , "James E.J. Bottomley" , "Martin K. Petersen" , Ziqi Chen , Can Guo Cc: 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: [PATCH] scsi: ufs: qcom: remove unused variable Date: Mon, 24 Jul 2023 14:19:58 +0200 Message-Id: <20230724122029.1430482-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 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 --- 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