Skip to content
Snippets Groups Projects
Commit 4cb7d55a authored by Ying Xue's avatar Ying Xue Committed by Paul Gortmaker
Browse files

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's avatarYing Xue <ying.xue@windriver.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent c64f7a6a
No related branches found
No related tags found
No related merge requests found
...@@ -262,7 +262,7 @@ void tipc_named_node_up(unsigned long nodearg) ...@@ -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);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment