net/wan/hdlc_ppp: use break in switch
authorJesper Juhl <jj@chaosbits.net>
Mon, 22 Aug 2011 18:30:38 +0000 (11:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Aug 2011 18:30:38 +0000 (11:30 -0700)
commitc8d755b59ae6750150d7f351210b97ad4cce5a51
tree1404f8966112ca6f4c3ba19792117d311b521348
parentca1ba7caa68520864e4b9227e67f3bbc6fed373b
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>
drivers/net/wan/hdlc_ppp.c