tipc: remove unnecessary variables and conditions
authorwangweidong <wangweidong1@huawei.com>
Thu, 12 Dec 2013 01:36:39 +0000 (09:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Dec 2013 17:48:35 +0000 (12:48 -0500)
commit0cee6bbe06f67ff7dd83a4bc794f23c5cd5e7929
tree59864290d3b49dbf64e42c53030e883461125998
parent810c23a3553cbb4602edf9534b548d2616ba5520
tipc: remove unnecessary variables and conditions

We remove a number of unnecessary variables and branches
in TIPC. This patch is cosmetic and does not change the
operation of TIPC in any way.

Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_table.c
net/tipc/port.c
net/tipc/socket.c