diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2012-01-09 05:33:16 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-09 07:44:26 (GMT) |
commit | 475f1b52645a29936b9df1d8fcd45f7e56bd4a9f (patch) | |
tree | d0f9641f2f0ac6263b3c1ef4e8dfe8baf2602dd7 /net/core/dev_addr_lists.c | |
parent | b189e810619a676e6b931a942a3e8387f3d39c21 (diff) | |
download | linux-475f1b52645a29936b9df1d8fcd45f7e56bd4a9f.tar.xz |
net: sk_update_clone is only used in net/core/sock.c
so move it there. Fixes build errors when CONFIG_INET is not defined:
In file included from include/linux/tcp.h:211:0,
from include/linux/ipv6.h:221,
from include/net/ipv6.h:16,
from include/linux/sunrpc/clnt.h:26,
from include/linux/nfs_fs.h:50,
from init/do_mounts.c:20:
include/net/sock.h: In function 'sk_update_clone':
include/net/sock.h:1109:3: error: implicit declaration of function 'sock_update_memcg' [-Werror=implicit-function-declaration]
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev_addr_lists.c')
0 files changed, 0 insertions, 0 deletions