[PATCH 2/2] scsi: ufs: Document NOP_OUT transaction code
From: Avri Altman
Date: Tue Jun 17 2025 - 06:04:09 EST
UPIU_TRANSACTION_NOP_OUT is 0x0, which is the default value after
memset. Comment out the explicit assignment and leave it as
documentation.
Signed-off-by: Avri Altman <avri.altman@xxxxxxxxxxx>
---
drivers/ufs/core/ufshcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index c2048aca09fc..84165b45467d 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -2835,7 +2835,7 @@ static inline void ufshcd_prepare_utp_nop_upiu(struct ufshcd_lrb *lrbp)
memset(ucd_req_ptr, 0, sizeof(struct utp_upiu_req));
ucd_req_ptr->header = (struct utp_upiu_header){
- .transaction_code = UPIU_TRANSACTION_NOP_OUT,
+ /* .transaction_code = UPIU_TRANSACTION_NOP_OUT = 0x0, */
.task_tag = lrbp->task_tag,
};
}
--
2.25.1