summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs
diff options
context:
space:
mode:
authorStanley Chu <stanley.chu@mediatek.com>2020-06-15 15:22:34 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-06-15 23:35:05 -0400
commit7a7df52dbc71d2aa4272664ebc9ad44ab317ae53 (patch)
tree79f88e39f867bd41f917afe690d8af0598ccc0d0 /drivers/scsi/ufs
parented0b40ffa3642f1e6733fae68a06cf069d1a7e42 (diff)
downloadlinux-stable-7a7df52dbc71d2aa4272664ebc9ad44ab317ae53.tar.gz
linux-stable-7a7df52dbc71d2aa4272664ebc9ad44ab317ae53.tar.bz2
linux-stable-7a7df52dbc71d2aa4272664ebc9ad44ab317ae53.zip
scsi: ufs: Remove unused field in struct uic_command
Remove unused fields "cmd_active" and "result" in struct ufs_command. Link: https://lore.kernel.org/r/20200615072235.23042-2-stanley.chu@mediatek.com Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r--drivers/scsi/ufs/ufshcd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h
index d62e0e11dc92..03d61e04792d 100644
--- a/drivers/scsi/ufs/ufshcd.h
+++ b/drivers/scsi/ufs/ufshcd.h
@@ -63,8 +63,6 @@ enum dev_cmd_type {
* @argument1: UIC command argument 1
* @argument2: UIC command argument 2
* @argument3: UIC command argument 3
- * @cmd_active: Indicate if UIC command is outstanding
- * @result: UIC command result
* @done: UIC command completion
*/
struct uic_command {
@@ -72,8 +70,6 @@ struct uic_command {
u32 argument1;
u32 argument2;
u32 argument3;
- int cmd_active;
- int result;
struct completion done;
};