scsi: ufs: Remove unused field in struct uic_command
authorStanley Chu <stanley.chu@mediatek.com>
Mon, 15 Jun 2020 07:22:34 +0000 (15:22 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Jun 2020 03:35:05 +0000 (23:35 -0400)
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>
drivers/scsi/ufs/ufshcd.h

index d62e0e1..03d61e0 100644 (file)
@@ -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;
 };