* [PATCH] scsi: isci: remove unused macro scu_get_command_request_logical_port
@ 2026-04-23 8:13 Piotr Zarycki
2026-05-15 2:27 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Piotr Zarycki @ 2026-04-23 8:13 UTC (permalink / raw)
To: James.Bottomley, martin.petersen
Cc: linux-scsi, linux-kernel, kernel-janitors, Piotr Zarycki
The macro scu_get_command_request_logical_port() has never been used
since it was introduced.
Signed-off-by: Piotr Zarycki <piotr.zarycki@gmail.com>
---
drivers/scsi/isci/scu_task_context.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/scsi/isci/scu_task_context.h b/drivers/scsi/isci/scu_task_context.h
index 9cb4f5e30b86..40306c054117 100644
--- a/drivers/scsi/isci/scu_task_context.h
+++ b/drivers/scsi/isci/scu_task_context.h
@@ -211,8 +211,6 @@ typedef enum {
#define SCU_CONTEXT_COMMAND_LOGICAL_PORT_SHIFT 12
#define SCU_CONTEXT_COMMAND_LOGICAL_PORT_MASK 0x00007000
-#define scu_get_command_request_logical_port(x) \
- ((x) & SCU_CONTEXT_COMMAND_LOGICAL_PORT_MASK)
#define MAKE_SCU_CONTEXT_COMMAND_TYPE(type) \
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-15 2:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-23 8:13 [PATCH] scsi: isci: remove unused macro scu_get_command_request_logical_port Piotr Zarycki
2026-05-15 2:27 ` Martin K. Petersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.