Driver: Atm: Remove 'break' after 'return' statement.
authorSantosh Nayak <santoshprasadnayak@gmail.com>
Tue, 3 Apr 2012 01:47:18 +0000 (01:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 22:07:43 +0000 (18:07 -0400)
'break' is unnecessary after 'return' statement.
Remove all such 'break' as clean up.

Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/horizon.c

index b81210330aca90227945f14dd853d281085952f4..71c801bb68452db6d7e9fc12783f9c73c7e062ce 100644 (file)
@@ -2183,7 +2183,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
     default:
       PRINTD (DBG_QOS|DBG_VCC, "Bad AAL!");
       return -EINVAL;
-      break;
   }
   
   // TX traffic parameters
@@ -2358,7 +2357,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
       default: {
        PRINTD (DBG_QOS, "unsupported TX traffic class");
        return -EINVAL;
-       break;
       }
     }
   }
@@ -2434,7 +2432,6 @@ static int hrz_open (struct atm_vcc *atm_vcc)
       default: {
        PRINTD (DBG_QOS, "unsupported RX traffic class");
        return -EINVAL;
-       break;
       }
     }
   }
@@ -2582,7 +2579,6 @@ static int hrz_getsockopt (struct atm_vcc * atm_vcc, int level, int optname,
 //       break;
        default:
          return -ENOPROTOOPT;
-         break;
       };
       break;
   }
@@ -2602,7 +2598,6 @@ static int hrz_setsockopt (struct atm_vcc * atm_vcc, int level, int optname,
 //       break;
        default:
          return -ENOPROTOOPT;
-         break;
       };
       break;
   }