slip: remove unnecessary break after goto [Linux 3.17]

This Linux kernel change "slip: remove unnecessary break after goto" is included in the Linux 3.17 release. This change is authored by Fabian Frederick <fabf [at] skynet.be> on Sat Jul 12 20:09:48 2014 +0200. The commit for this change in Linux stable tree is 8904120 (patch).

slip: remove unnecessary break after goto

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/net/slip/slhc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/slip/slhc.c b/drivers/net/slip/slhc.c
index 1252d9c..079f7ad 100644
--- a/drivers/net/slip/slhc.c
+++ b/drivers/net/slip/slhc.c
@@ -396,7 +396,6 @@ struct slcompress *
           ntohs(cs->cs_ip.tot_len) == hlen)
            break;
        goto uncompressed;
-       break;
    case SPECIAL_I:
    case SPECIAL_D:
        /* actual changes match one of our special case encodings --

Leave a Reply

Your email address will not be published. Required fields are marked *