mirror of https://gitee.com/openkylin/linux.git
scsi: ufs: fix wrong/ambiguous fall through comments
These aren't really falling through to anywhere meaningful. Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com> Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
03b1a06203
commit
031d1e0f2d
|
@ -553,15 +553,14 @@ static inline u32 ufshcd_get_intr_mask(struct ufs_hba *hba)
|
||||||
case UFSHCI_VERSION_10:
|
case UFSHCI_VERSION_10:
|
||||||
intr_mask = INTERRUPT_MASK_ALL_VER_10;
|
intr_mask = INTERRUPT_MASK_ALL_VER_10;
|
||||||
break;
|
break;
|
||||||
/* allow fall through */
|
|
||||||
case UFSHCI_VERSION_11:
|
case UFSHCI_VERSION_11:
|
||||||
case UFSHCI_VERSION_20:
|
case UFSHCI_VERSION_20:
|
||||||
intr_mask = INTERRUPT_MASK_ALL_VER_11;
|
intr_mask = INTERRUPT_MASK_ALL_VER_11;
|
||||||
break;
|
break;
|
||||||
/* allow fall through */
|
|
||||||
case UFSHCI_VERSION_21:
|
case UFSHCI_VERSION_21:
|
||||||
default:
|
default:
|
||||||
intr_mask = INTERRUPT_MASK_ALL_VER_21;
|
intr_mask = INTERRUPT_MASK_ALL_VER_21;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return intr_mask;
|
return intr_mask;
|
||||||
|
|
Loading…
Reference in New Issue