summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs
diff options
context:
space:
mode:
authorBean Huo <beanhuo@micron.com>2022-05-05 15:47:03 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-05-10 22:01:51 -0400
commit6f341ed5e3771ea932b19377302ea97a0a02e0b5 (patch)
tree51bf69249f3e868a81daf3cb252e5a93c46726f5 /drivers/scsi/ufs
parentfacc239c87b1d66e7fdadade4fba07f9cecca7d6 (diff)
downloadlinux-stable-6f341ed5e3771ea932b19377302ea97a0a02e0b5.tar.gz
linux-stable-6f341ed5e3771ea932b19377302ea97a0a02e0b5.tar.bz2
linux-stable-6f341ed5e3771ea932b19377302ea97a0a02e0b5.zip
scsi: ufs: ufshpb: Remove enum initialization value
If the first enumerator has no initializer, the value of the corresponding constant is zero. Link: https://lore.kernel.org/r/20220505134707.35929-3-huobean@gmail.com Reviewed-by: Keoseong Park <keosung.park@samsung.com> Signed-off-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r--drivers/scsi/ufs/ufshpb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/ufs/ufshpb.h b/drivers/scsi/ufs/ufshpb.h
index 7aa0dc58ee9f..b83b9ec9044a 100644
--- a/drivers/scsi/ufs/ufshpb.h
+++ b/drivers/scsi/ufs/ufshpb.h
@@ -59,8 +59,8 @@ enum UFSHPB_MODE {
};
enum UFSHPB_STATE {
- HPB_INIT = 0,
- HPB_PRESENT = 1,
+ HPB_INIT,
+ HPB_PRESENT,
HPB_SUSPEND,
HPB_FAILED,
HPB_RESET,