Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[firefly-linux-kernel-4.4.55.git] / drivers / isdn / divert / isdn_divert.c
index db432e635496d1b206f731832900eb17cad304d9..50749a70c5cacb99ee2dfbb0a1957b6baf336247 100644 (file)
@@ -441,8 +441,7 @@ static int isdn_divert_icall(isdn_ctrl *ic)
 
                switch (dv->rule.action) {
                case DEFLECT_IGNORE:
-                       return (0);
-                       break;
+                       return 0;
 
                case DEFLECT_ALERT:
                case DEFLECT_PROCEED:
@@ -510,10 +509,9 @@ static int isdn_divert_icall(isdn_ctrl *ic)
                        break;
 
                default:
-                       return (0); /* ignore call */
-                       break;
+                       return 0; /* ignore call */
                } /* switch action */
-               break;
+               break; /* will break the 'for' looping */
        } /* scan_table */
 
        if (cs) {