Skip to contentSkip to conversation

scsi: ufs: delete unused structure filed tr

PATCH Applied Bean Huo 3 participants 3 messages Dec 5, 2019 – Dec 10, 2019 SCSI

lore
Share & tools
lore

Bean Huo

author
#0 lore raw

PATCH v2 1/1 scsi: ufs: delete unused structure filed tr

From: Bean Huo <[email protected]>

Delete unused structure field tr in structure utp_upiu_req, since no person uses it for task management.

Fixes df032bf27a41 ("scsi: ufs: Add a bsg endpoint that supports UPIUs")
---
 include/uapi/scsi/scsi_bsg_ufs.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/uapi/scsi/scsi_bsg_ufs.h +1 -2
index 9988db6ad244..d55f2176dfd4 100644
@@ -68,14 +68,13 @@ struct utp_upiu_cmd {
  * @header:UPIU header structure DW-0 to DW-2
  * @sc: fields structure for scsi command DW-3 to DW-7
  * @qr: fields structure for query request DW-3 to DW-7
+ * @uc: use utp_upiu_query to host the 4 dwords of uic command
  */
 struct utp_upiu_req {
 	struct utp_upiu_header header;
 	union {
 		struct utp_upiu_cmd		sc;
 		struct utp_upiu_query		qr;
-		struct utp_upiu_query		tr;
-		/* use utp_upiu_query to host the 4 dwords of uic command */
 		struct utp_upiu_query		uc;
 	};
 };
Signature · 1 line
2.17.1
#2 lore raw
In reply to Bean Huo

Bean,

Quoted 2 lines

Delete unused structure field tr in structure utp_upiu_req, since no person uses it for task management.

Applied to 5.6/scsi-queue, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering