commit | c80bbeaec98b36eeba9c6c77061226034d5c4622 | [log] [tgz] |
---|---|---|
author | Hans Zhang <zhanghonghui@huawei.com> | Mon Oct 22 22:21:23 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 23 13:03:44 2012 -0400 |
tree | e587ca6e86fff29a3399af3ff5ade7adba1ef118 | |
parent | 45f00f99d6e73a7b9e1d7dc191f78357f550d5b5 [diff] |
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: Hans Zhang <zhanghonghui@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>