From patchwork Tue Jun 27 01:29:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keoseong Park X-Patchwork-Id: 13293680 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE1E8EB64D7 for ; Tue, 27 Jun 2023 01:29:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230110AbjF0B3l (ORCPT ); Mon, 26 Jun 2023 21:29:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbjF0B3j (ORCPT ); Mon, 26 Jun 2023 21:29:39 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A1BC10CF for ; Mon, 26 Jun 2023 18:29:38 -0700 (PDT) Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20230627012933epoutp034b2741986d3247707dfc299697070f8f~sX995bKA32093720937epoutp03_ for ; Tue, 27 Jun 2023 01:29:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20230627012933epoutp034b2741986d3247707dfc299697070f8f~sX995bKA32093720937epoutp03_ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1687829373; bh=b3Fxvw2RdgOBtY36dPh2SiCe80DAP1YXQXrnXO0PHq8=; h=Subject:Reply-To:From:To:Date:References:From; b=FD3lBD1Aa7RP2eS4/hFsvBqPf/8B123yLPoC43CoDmCInVEH/qmhsIJ3XJGISmXCD iVm9yi8LSh3EgsjN267PnzjNpXpwUUcTB7HlWptYcq7wzfO6KFPkk6gMWLpLv11Ebo taeIc7wOu/6JhtP7mMKemKJRG57RdJX96Bl9blZ4= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20230627012933epcas2p27e02cfb103c73e2ae7afeacf9cb70f15~sX99We_X52977129771epcas2p2v; Tue, 27 Jun 2023 01:29:33 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.90]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4QqnF82fYBz4x9Q0; Tue, 27 Jun 2023 01:29:32 +0000 (GMT) X-AuditID: b6c32a47-c2bfa70000007f5e-4a-649a3b7c086e Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id C7.36.32606.C7B3A946; Tue, 27 Jun 2023 10:29:32 +0900 (KST) Mime-Version: 1.0 Subject: [PATCH] scsi: ufs: Remove unused function declaration Reply-To: keosung.park@samsung.com Sender: Keoseong Park From: Keoseong Park To: ALIM AKHTAR , "avri.altman@wdc.com" , "bvanassche@acm.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "quic_cang@quicinc.com" , "stanley.chu@mediatek.com" , "mani@kernel.org" , "quic_asutoshd@quicinc.com" , "quic_nguyenb@quicinc.com" , "Arthur.Simchaev@wdc.com" , "beanhuo@micron.com" , "krzysztof.kozlowski@linaro.org" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" X-Priority: 3 X-Content-Kind-Code: NORMAL X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20230627012931epcms2p76f458e0b2ce8a591b56bbcc6a2f1a3bb@epcms2p7> Date: Tue, 27 Jun 2023 10:29:31 +0900 X-CMS-MailID: 20230627012931epcms2p76f458e0b2ce8a591b56bbcc6a2f1a3bb X-Sendblock-Type: AUTO_CONFIDENTIAL CM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7Na/o8V2hvi+ZbNWqDran6u0SptxctGmzf9k5n7ZJvCn/pfhevMpB9qTnvRM MvzK/uhr7tIagXOHDvvyvb4wNfvqLb/l+0xn+le01zBsmTnJVP4vo9MP7ri30W1fnJe9Z7i2 2v70vM+TVm/9uvkzx7V/523rsyIK11xY7WEqeM3CZBl/gcHz6XtuXl7O7HJ7psMLQfFr9tbH Fk7PXL/2+IrjXwod2nN8P5m55hlZTrv/Ub9tZvzRfZvsH11jKPXambRpmkaJnGvhOxWFXred Rk+cPsnbp6p9eLPOTDXw5QR7MSWW4oxEQy3mouJEAFluny9kBAAA DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230627012931epcms2p76f458e0b2ce8a591b56bbcc6a2f1a3bb References: Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Commit 2468da61ea09 ("scsi: ufs: core: mcq: Configure operation and runtime interface") added ufshcd_mcq_select_mcq_mode(), but it's not used anywhere. So remove it. Signed-off-by: Keoseong Park Reviewed-by: Bart Van Assche --- drivers/ufs/core/ufshcd-priv.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ufs/core/ufshcd-priv.h b/drivers/ufs/core/ufshcd-priv.h index 9566a95aeed9..0f3bd943b58b 100644 --- a/drivers/ufs/core/ufshcd-priv.h +++ b/drivers/ufs/core/ufshcd-priv.h @@ -68,7 +68,6 @@ int ufshcd_mcq_decide_queue_depth(struct ufs_hba *hba); int ufshcd_mcq_memory_alloc(struct ufs_hba *hba); void ufshcd_mcq_make_queues_operational(struct ufs_hba *hba); void ufshcd_mcq_config_mac(struct ufs_hba *hba, u32 max_active_cmds); -void ufshcd_mcq_select_mcq_mode(struct ufs_hba *hba); u32 ufshcd_mcq_read_cqis(struct ufs_hba *hba, int i); void ufshcd_mcq_write_cqis(struct ufs_hba *hba, u32 val, int i); struct ufs_hw_queue *ufshcd_mcq_req_to_hwq(struct ufs_hba *hba,