drivers/scsi/isci/scu_task_context.h | 2 -- 1 file changed, 2 deletions(-)
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
On Thu, 23 Apr 2026 10:13:43 +0200, Piotr Zarycki wrote:
> The macro scu_get_command_request_logical_port() has never been used
> since it was introduced.
>
>
Applied to 7.2/scsi-queue, thanks!
[1/1] scsi: isci: remove unused macro scu_get_command_request_logical_port
https://git.kernel.org/mkp/scsi/c/016d484531e3
--
Martin K. Petersen
© 2016 - 2026 Red Hat, Inc.