]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
sctp: reduce indent level in sctp_copy_local_addr_list
authorXin Long <lucien.xin@gmail.com>
Tue, 20 Dec 2016 05:49:49 +0000 (13:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Dec 2016 19:15:44 +0000 (14:15 -0500)
commit165f2cf6405a9e2153b69302845c7d5c9f3cb23b
treea3825f30ed802dd11acbfd7a18728352bca48b18
parent92f95322c65fef330cc0a6bb6ed3e7966f8635d5
sctp: reduce indent level in sctp_copy_local_addr_list

This patch is to reduce indent level by using continue when the addr
is not allowed, and also drop end_copy by using break.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c