summaryrefslogtreecommitdiff
path: root/net/mac802154/ieee802154_dev.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2013-10-30 03:26:57 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-10-30 20:54:54 (GMT)
commit3af390e2c5fd8a8cab6d123c18fcd3e1a65b43c6 (patch)
tree44d308df8a93a55387f7df8112ba36e1e3a29e6f /net/mac802154/ieee802154_dev.c
parent99470819b1a89f77c1eb44f6b3328c1aeb2c87d0 (diff)
downloadlinux-3af390e2c5fd8a8cab6d123c18fcd3e1a65b43c6.tar.xz
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 'net/mac802154/ieee802154_dev.c')
0 files changed, 0 insertions, 0 deletions