Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: ufs: delete unused structure filed tr

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")
Link: https://lore.kernel.org/r/20191205220912.5696-1-huobean@gmail.com
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bean Huo and committed by
Martin K. Petersen
fc0a9de2 5231d38c

+1 -2
+1 -2
include/uapi/scsi/scsi_bsg_ufs.h
··· 68 68 * @header:UPIU header structure DW-0 to DW-2 69 69 * @sc: fields structure for scsi command DW-3 to DW-7 70 70 * @qr: fields structure for query request DW-3 to DW-7 71 + * @uc: use utp_upiu_query to host the 4 dwords of uic command 71 72 */ 72 73 struct utp_upiu_req { 73 74 struct utp_upiu_header header; 74 75 union { 75 76 struct utp_upiu_cmd sc; 76 77 struct utp_upiu_query qr; 77 - struct utp_upiu_query tr; 78 - /* use utp_upiu_query to host the 4 dwords of uic command */ 79 78 struct utp_upiu_query uc; 80 79 }; 81 80 };