tipc: remove unnecessary break after return
authorFabian Frederick <fabf@skynet.be>
Mon, 14 Jul 2014 16:30:52 +0000 (18:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2014 23:26:59 +0000 (16:26 -0700)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c

index 8c5600cfcc3ed679a0371bd0c9b4aedb55270183..de01622672b2bdf8cbc53d0c4e4ba82118a7da04 100644 (file)
@@ -2028,7 +2028,6 @@ int tipc_ioctl(struct socket *sk, unsigned int cmd, unsigned long arg)
                        return 0;
                }
                return -EADDRNOTAVAIL;
-               break;
        default:
                return -ENOIOCTLCMD;
        }