diff options
author | Hans Zhang <zhanghonghui@huawei.com> | 2012-10-22 22:21:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-23 13:03:44 -0400 |
commit | c80bbeaec98b36eeba9c6c77061226034d5c4622 (patch) | |
tree | e587ca6e86fff29a3399af3ff5ade7adba1ef118 /drivers/net | |
parent | ipv4: tcp: clean up tcp_v4_early_demux() (diff) | |
download | linux-dev-c80bbeaec98b36eeba9c6c77061226034d5c4622.tar.xz linux-dev-c80bbeaec98b36eeba9c6c77061226034d5c4622.zip |
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>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions