Commit 01f25622 authored by ChanWoo Lee's avatar ChanWoo Lee Committed by Martin K. Petersen

scsi: ufs: mcq: Remove unused parameters

The 'hwq' parameter is not used in this function. Remove unused parameters.
Signed-off-by: default avatarChanWoo Lee <cw9316.lee@samsung.com>
Link: https://lore.kernel.org/r/20240105021041.20400-3-cw9316.lee@samsung.comReviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 325ec4ac
...@@ -258,9 +258,7 @@ EXPORT_SYMBOL_GPL(ufshcd_mcq_write_cqis); ...@@ -258,9 +258,7 @@ EXPORT_SYMBOL_GPL(ufshcd_mcq_write_cqis);
* Current MCQ specification doesn't provide a Task Tag or its equivalent in * Current MCQ specification doesn't provide a Task Tag or its equivalent in
* the Completion Queue Entry. Find the Task Tag using an indirect method. * the Completion Queue Entry. Find the Task Tag using an indirect method.
*/ */
static int ufshcd_mcq_get_tag(struct ufs_hba *hba, static int ufshcd_mcq_get_tag(struct ufs_hba *hba, struct cq_entry *cqe)
struct ufs_hw_queue *hwq,
struct cq_entry *cqe)
{ {
u64 addr; u64 addr;
...@@ -278,7 +276,7 @@ static void ufshcd_mcq_process_cqe(struct ufs_hba *hba, ...@@ -278,7 +276,7 @@ static void ufshcd_mcq_process_cqe(struct ufs_hba *hba,
struct ufs_hw_queue *hwq) struct ufs_hw_queue *hwq)
{ {
struct cq_entry *cqe = ufshcd_mcq_cur_cqe(hwq); struct cq_entry *cqe = ufshcd_mcq_cur_cqe(hwq);
int tag = ufshcd_mcq_get_tag(hba, hwq, cqe); int tag = ufshcd_mcq_get_tag(hba, cqe);
if (cqe->command_desc_base_addr) { if (cqe->command_desc_base_addr) {
ufshcd_compl_one_cqe(hba, tag, cqe); ufshcd_compl_one_cqe(hba, tag, cqe);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment