[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110822.135200.2097710885170099050.davem@davemloft.net>
Date: Mon, 22 Aug 2011 13:52:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jj@...osbits.net
Cc: khc@...waw.pl, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, trivial@...nel.org
Subject: Re: [PATCH][Trivial] net/wan/hdlc_ppp: remove dead goto
From: Jesper Juhl <jj@...osbits.net>
Date: Sun, 21 Aug 2011 23:38:51 +0200 (CEST)
> From: Jesper Juhl <jj@...osbits.net>
> Subject: [PATCH] net/wan/hdlc_ppp: use break in switch
>
> We'll either hit one of the case labels or the default in the switch
> and in all cases do we then 'goto out' and we also have a 'goto out'
> after the switch that is redundant. Change to just use break in the
> case statements and leave the 'goto out' after the lop for everyone to
> hit.
>
> Signed-off-by: Jesper Juhl <jj@...osbits.net>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists