Skip to content

Commit

Permalink
scsi: ufs: fix wrong/ambiguous fall through comments
Browse files Browse the repository at this point in the history
These aren't really falling through to anywhere meaningful.

Signed-off-by: Tomohiro Kusumi <[email protected]>
Reviewed-by: Subhash Jadavani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
  • Loading branch information
kusumi authored and martinkpetersen committed Mar 28, 2017
1 parent 03b1a06 commit 031d1e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/scsi/ufs/ufshcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,15 +553,14 @@ static inline u32 ufshcd_get_intr_mask(struct ufs_hba *hba)
case UFSHCI_VERSION_10:
intr_mask = INTERRUPT_MASK_ALL_VER_10;
break;
/* allow fall through */
case UFSHCI_VERSION_11:
case UFSHCI_VERSION_20:
intr_mask = INTERRUPT_MASK_ALL_VER_11;
break;
/* allow fall through */
case UFSHCI_VERSION_21:
default:
intr_mask = INTERRUPT_MASK_ALL_VER_21;
break;
}

return intr_mask;
Expand Down

0 comments on commit 031d1e0

Please sign in to comment.