Skip to contentSkip to conversation

scsi: isci: remove unused macro scu_get_command_request_logical_port

PATCH Applied Piotr Zarycki 2 participants 3 messages Apr 23 – May 23

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: isci: remove unused macro scu_get_command_request_logical_port

The macro scu_get_command_request_logical_port() has never been used since it was introduced.

---
 drivers/scsi/isci/scu_task_context.h | 2 --
 1 file changed, 2 deletions(-)
drivers/scsi/isci/scu_task_context.h +0 -2
index 9cb4f5e30b86..40306c054117 100644
@@ -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) \
Signature · 1 line
2.53.0
#1 lore raw

Piotr,

Quoted 2 lines

The macro scu_get_command_request_logical_port() has never been used since it was introduced.

Applied to 7.2/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen