OpenCloudOS-Kernel/net/netlink
Samir Bellabes e1d5a01072 genetlink: optimize ctrl_dumpfamily()
there is a unnecessary test which can be replaced by a good initialization in
the 'for' statement

Noticed by Serge E. Hallyn <serue@us.ibm.com>

Signed-off-by: Samir Bellabes <sam@synack.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-13 20:37:45 -08:00
..
Makefile netlink: Move netlink attribute parsing support to lib 2009-03-04 14:53:30 +08:00
af_netlink.c net: use net_eq to compare nets 2009-11-25 15:14:13 -08:00
genetlink.c genetlink: optimize ctrl_dumpfamily() 2010-01-13 20:37:45 -08:00