scsi: ufs: fix wrong/ambiguous fall through comments
authorTomohiro Kusumi <tkusumi@tuxera.com>
Thu, 23 Mar 2017 10:49:04 +0000 (12:49 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 28 Mar 2017 01:56:03 +0000 (21:56 -0400)
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>
drivers/scsi/ufs/ufshcd.c

index dc6efbd1be8ef344bb994589054c24843e442230..b7e5128f5fb684ae71e3a120f5c60f3a2cfc27b0 100644 (file)
@@ -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;