From: Bean Huo Date: Thu, 5 May 2022 13:47:03 +0000 (+0200) Subject: scsi: ufs: ufshpb: Remove enum initialization value X-Git-Tag: baikal/mips/sdk6.1~5690^2~44 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=fabc862c6e41a5c1596078052e630e838c213d8e;p=kernel.git 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 Signed-off-by: Bean Huo Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/ufs/ufshpb.h b/drivers/scsi/ufs/ufshpb.h index 7aa0dc58ee9fb..b83b9ec9044a3 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,