Re: [PATCH] netlink: cleanup the unnecessary return value check

From: David Miller
Date: Tue Oct 23 2012 - 13:04:11 EST


From: <zhanghonghui@xxxxxxxxxx>
Date: Tue, 23 Oct 2012 16:21:23 +0800

> From: Hans Zhang <zhanghonghui@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/