]> git.baikalelectronics.ru Git - 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)
commitf1ecce42d7fde41de7bc3b7eebea42f54e6e7bc7
tree346fe1e731b4d3f2489cb8dcc77c485fd6e7dc5a
parent2754908cf89ce3ec710122c599e01730ad0dc589
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