]> git.baikalelectronics.ru Git - 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)
commit8c89f8949a5d9c609706e8be71dbebd7aedbb4c2
treea3825f30ed802dd11acbfd7a18728352bca48b18
parenta82f5adcf7e845970d5e3ea318b5f4da5e931ae4
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