[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <80b317760809110647w1659ceffia363cc55c295b631@mail.gmail.com>
Date: Thu, 11 Sep 2008 15:47:14 +0200
From: "Richard Genoud" <richard.genoud@...il.com>
To: "Julia Lawall" <julia@...u.dk>
Cc: chas@....nrl.navy.mil, vigneshbabu@...il.com,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 4/5] net/atm/lec.c: Drop code after return
2008/9/11 Julia Lawall <julia@...u.dk>:
> From: Julia Lawall <julia@...u.dk>
>
> The break after the return serves no purpose.
>
> Signed-off-by: Julia Lawall <julia@...u.dk>
Reviewed-by: Richard Genoud <richard.genoud@...il.com>
> ---
>
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists