[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121023.130415.2072105034807211296.davem@davemloft.net>
Date: Tue, 23 Oct 2012 13:04:15 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: zhanghonghui@...wei.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
lizefan@...wei.com, edumazet@...gle.com
Subject: Re: [PATCH] netlink: cleanup the unnecessary return value check
From: <zhanghonghui@...wei.com>
Date: Tue, 23 Oct 2012 16:21:23 +0800
> From: Hans Zhang <zhanghonghui@...wei.com>
>
> 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@...wei.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists