]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
scsi: ufs: cleanup struct utp_task_req_desc
authorChristoph Hellwig <hch@lst.de>
Sun, 7 Oct 2018 14:30:32 +0000 (17:30 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Oct 2018 03:09:46 +0000 (23:09 -0400)
commit391e388f853dad5d1d7462a31bb50ff2446e37f0
tree346fe1e731b4d3f2489cb8dcc77c485fd6e7dc5a
parent51aef7161753b8222f589c94886dd1a706f2b42d
scsi: ufs: cleanup struct utp_task_req_desc

Remove the pointless task_req_upiu and task_rsp_upiu indirections,
which are __le32 arrays always cast to given structures and just add
the members directly.  Also clean up variables names in use in the
callers a bit to make the code more readable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs.h
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshci.h