Messages in this thread | | | Date | Mon, 22 Aug 2011 13:52:00 -0700 (PDT) | Subject | Re: [PATCH][Trivial] net/wan/hdlc_ppp: remove dead goto | From | David Miller <> |
| |
From: Jesper Juhl <jj@chaosbits.net> Date: Sun, 21 Aug 2011 23:38:51 +0200 (CEST)
> From: Jesper Juhl <jj@chaosbits.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@chaosbits.net>
Applied.
| |