From: Ying Xue Date: Wed, 30 Oct 2013 03:26:57 +0000 (+0800) Subject: tipc: remove two indentation levels in tipc_recv_msg routine X-Git-Tag: v3.13-rc1~105^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af390e2c5fd8a8cab6d123c18fcd3e1a65b43c6;p=pandora-kernel.git tipc: remove two indentation levels in tipc_recv_msg routine The message dispatching part of tipc_recv_msg() is wrapped layers of while/if/if/switch, causing out-of-control indentation and does not look very good. We reduce two indentation levels by separating the message dispatching from the blocks that checks link state and sequence numbers, allowing longer function and arg names to be consistently indented without wrapping. Additionally we also rename "cont" label to "discard" and add one new label called "unlock_discard" to make code clearer. In all, these are cosmetic changes that do not alter the operation of TIPC in any way. Signed-off-by: Ying Xue Reviewed-by: Erik Hugne Cc: David Laight Cc: Andreas Bofjäll Signed-off-by: David S. Miller --- Reading git-diff-tree failed