Skip to contentSkip to conversation

scsi: ufs: delete unused structure filed tc

PATCH RESEND Superseded Bean Huo 2 participants 2 messages Dec 4, 2019 SCSI

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Bean Huo

author
#0 lore raw

PATCH RESEND 1/1 scsi: ufs: delete unused structure filed tc

From: Bean Huo <[email protected]>

Delete unused structure field tc 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
#1 lore raw
Quoted 3 lines

From: Bean Huo <[email protected]>

Delete unused structure field tc in structure utp_upiu_req, since no person uses

Typo tc -> tr

Thanks,
Avri

Quoted 30 lines

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 -3
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;
        };
 };
--

2.17.1