Skip to content
Snippets Groups Projects
Commit c80bbeae authored by Hans Zhang's avatar Hans Zhang Committed by David S. Miller
Browse files

netlink: cleanup the unnecessary return value check


It's no needed to check the return value of tab since the NULL situation
has been handled already, and the rtnl_msg_handlers[PF_UNSPEC] has been
initialized as non-NULL during the rtnetlink_init().

Signed-off-by: default avatarHans Zhang <zhanghonghui@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 45f00f99
No related branches found
No related tags found
No related merge requests found
Loading
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