diff options
author | Ying Xue <ying.xue@windriver.com> | 2013-10-30 11:26:57 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-30 16:54:54 -0400 |
commit | 3af390e2c5fd8a8cab6d123c18fcd3e1a65b43c6 (patch) | |
tree | 44d308df8a93a55387f7df8112ba36e1e3a29e6f /security/keys | |
parent | 99470819b1a89f77c1eb44f6b3328c1aeb2c87d0 (diff) |
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 <ying.xue@windriver.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Cc: David Laight <david.laight@aculab.com>
Cc: Andreas Bofjäll <andreas.bofjall@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions