]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: split variable assignments out of conditional expressions
authorAllan Stephens <Allan.Stephens@windriver.com>
Fri, 31 Dec 2010 18:59:33 +0000 (18:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jan 2011 21:57:56 +0000 (13:57 -0800)
commitab7c747cacc1f0529850bbc90c5b8c111af9b5da
treea77ed030edde71edb1c1b781f580cdfd642ac70d
parent0e28e04be6c7e3cb657885e1993b641bf81e2ddc
tipc: split variable assignments out of conditional expressions

Cleans up TIPC's source code to eliminate assigning values to variables
within conditional expressions, improving code readability and reducing
warnings from various code checker tools.

These changes are purely cosmetic and do not alter the operation of TIPC
in any way.

Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c
net/tipc/core.c
net/tipc/link.c
net/tipc/socket.c