tipc: kill unnecessary goto's
authorwangweidong <wangweidong1@huawei.com>
Thu, 12 Dec 2013 01:36:40 +0000 (09:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Dec 2013 17:48:35 +0000 (12:48 -0500)
commit3b8401fe9dba490b81b30deaa9bf4f89120bb5ba
tree39f9a586f12d712fa0276df3187a7ef8807009bb
parent0cee6bbe06f67ff7dd83a4bc794f23c5cd5e7929
tipc: kill unnecessary goto's

Remove a number of needless 'goto exit' in send_stream
when the socket is in an unconnected state.
This patch is cosmetic and does not alter the operation of
TIPC in any way.

Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c