diff mbox series

[v2] scsi: ufs: delete unused structure filed tr

Message ID 20191205220912.5696-1-huobean@gmail.com (mailing list archive)
State Mainlined
Commit fc0a9de2f40dc7efe9daf411efc1436811403402
Headers show
Series [v2] scsi: ufs: delete unused structure filed tr | expand

Commit Message

Bean Huo Dec. 5, 2019, 10:09 p.m. UTC
From: Bean Huo <beanhuo@micron.com>

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")
Signed-off-by: Bean Huo <beanhuo@micron.com>
---
 include/uapi/scsi/scsi_bsg_ufs.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Avri Altman Dec. 8, 2019, 7:27 a.m. UTC | #1
> From: Bean Huo <beanhuo@micron.com>
> 
> 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")
> Signed-off-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Martin K. Petersen Dec. 10, 2019, 12:51 a.m. UTC | #2
Bean,

> 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!
diff mbox series

Patch

diff --git a/include/uapi/scsi/scsi_bsg_ufs.h b/include/uapi/scsi/scsi_bsg_ufs.h
index 9988db6ad244..d55f2176dfd4 100644
--- a/include/uapi/scsi/scsi_bsg_ufs.h
+++ b/include/uapi/scsi/scsi_bsg_ufs.h
@@ -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;
 	};
 };