netlink: cleanup the unnecessary return value check
authorHans Zhang <zhanghonghui@huawei.com>
Mon, 22 Oct 2012 22:21:23 +0000 (22:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2012 17:03:44 +0000 (13:03 -0400)
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: Hans Zhang <zhanghonghui@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found