Skip to content

Commit

Permalink
scsi: ufs: ufshpb: Remove enum initialization value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bean Huo authored and Martin K. Petersen committed May 11, 2022
1 parent facc239 commit 6f341ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/ufs/ufshpb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6f341ed

Please sign in to comment.