scsi: ufs: Remove unused function declaration

Message ID 20230627012931epcms2p76f458e0b2ce8a591b56bbcc6a2f1a3bb@epcms2p7
State New
Headers
Series scsi: ufs: Remove unused function declaration |

Commit Message

Keoseong Park June 27, 2023, 1:29 a.m. UTC
  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 <keosung.park@samsung.com>
---
 drivers/ufs/core/ufshcd-priv.h | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Bart Van Assche June 28, 2023, 10:52 p.m. UTC | #1
On 6/26/23 18:29, Keoseong Park wrote:
> 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.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
  
Martin K. Petersen June 29, 2023, 2:22 a.m. UTC | #2
Keoseong,

> 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.

Applied to 6.5/scsi-staging, thanks!
  

Patch

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,