Re: [PATCH 4/5] net/atm/lec.c: Drop code after return

From: Richard Genoud
Date: Thu Sep 11 2008 - 09:48:13 EST


2008/9/11 Julia Lawall <julia@xxxxxxx>:
> From: Julia Lawall <julia@xxxxxxx>
>
> The break after the return serves no purpose.
>
> Signed-off-by: Julia Lawall <julia@xxxxxxx>
Reviewed-by: Richard Genoud <richard.genoud@xxxxxxxxx>
> ---
>
> net/atm/lec.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/net/atm/lec.c b/net/atm/lec.c
> index 5799fb5..8f701cd 100644
> --- a/net/atm/lec.c
> +++ b/net/atm/lec.c
> @@ -1931,7 +1931,6 @@ static struct atm_vcc *lec_arp_resolve(struct lec_priv *priv,
> switch (priv->lane_version) {
> case 1:
> return priv->mcast_vcc;
> - break;
> case 2: /* LANE2 wants arp for multicast addresses */
> if (!compare_ether_addr(mac_to_find, bus_mac))
> return priv->mcast_vcc;
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/