tipc: eliminate an unnecessary cast of node variable
As the variable:node is currently defined to u32 type, it is unnecessary to cast its type to u32 again when using it. Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
@@ -262,7 +262,7 @@ void tipc_named_node_up(unsigned long nodearg)
|
|||||||
named_distribute(&message_list, node, &publ_zone, max_item_buf);
|
named_distribute(&message_list, node, &publ_zone, max_item_buf);
|
||||||
read_unlock_bh(&tipc_nametbl_lock);
|
read_unlock_bh(&tipc_nametbl_lock);
|
||||||
|
|
||||||
tipc_link_send_names(&message_list, (u32)node);
|
tipc_link_send_names(&message_list, node);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user