Home
last modified time | relevance | path

Searched hist:c8d755b59ae6750150d7f351210b97ad4cce5a51 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wan/
H A Dhdlc_ppp.cdiff c8d755b59ae6750150d7f351210b97ad4cce5a51 Mon Aug 22 13:30:38 CDT 2011 Jesper Juhl <jj@chaosbits.net> 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>
Signed-off-by: David S. Miller <davem@davemloft.net>