]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETLINK]: Avoid pointer in netlink_run_queue
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 16 Sep 2007 23:24:44 +0000 (16:24 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:51:24 +0000 (16:51 -0700)
commit0cfad07555312468296ea3bbbcdf99038f58678b
treea95c432bcafaf22e965dcaf27bfd4a61723d1d64
parent007e3936bdaaa012483c9fe06ca71c272458c710
[NETLINK]: Avoid pointer in netlink_run_queue

I was looking at Patrick's fix to inet_diag and it occured
to me that we're using a pointer argument to return values
unnecessarily in netlink_run_queue.  Changing it to return
the value will allow the compiler to generate better code
since the value won't have to be memory-backed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netlink.h
net/core/rtnetlink.c
net/ipv4/inet_diag.c
net/netfilter/nfnetlink.c
net/netlink/af_netlink.c
net/netlink/genetlink.c
net/xfrm/xfrm_user.c