summaryrefslogtreecommitdiffstats
path: root/net/netrom
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-01-04 05:43:21 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-04 09:47:03 +0100
commit2d60abc2a937bf77575c3b8c83faeeb84a84e654 (patch)
treeecabc0dd8bacbb1d3152251cdc1ac8274c7aed24 /net/netrom
parent[X25]: Add missing x25_neigh_put (diff)
downloadlinux-2d60abc2a937bf77575c3b8c83faeeb84a84e654.tar.xz
linux-2d60abc2a937bf77575c3b8c83faeeb84a84e654.zip
[XFRM]: Do not define km_migrate() if !CONFIG_XFRM_MIGRATE
In include/net/xfrm.h we find : #ifdef CONFIG_XFRM_MIGRATE extern int km_migrate(struct xfrm_selector *sel, u8 dir, u8 type, struct xfrm_migrate *m, int num_bundles); ... #endif We can also guard the function body itself in net/xfrm/xfrm_state.c with same condition. (Problem spoted by sparse checker) make C=2 net/xfrm/xfrm_state.o ... net/xfrm/xfrm_state.c:1765:5: warning: symbol 'km_migrate' was not declared. Should it be static? ... Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions