]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita31ffa5fe557ebdf93185db52abeada532f84201
tree59864290d3b49dbf64e42c53030e883461125998
parent5f0a040eb153dde2364fd487c1bb6ab64c02a3cd
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