]> err.no Git - linux-2.6/commit
[XFRM]: xfrm_state_clone() should be static, not exported
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 8 Jan 2008 09:35:52 +0000 (01:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:00:49 +0000 (15:00 -0800)
commit6666351df90656677723f8232b3fdd26a500e51e
treebdbc17a38c257153e9f70fed37cc06c643644648
parent40ccbf525e55fc6d1f3a88c1e98b13db4dd618db
[XFRM]: xfrm_state_clone() should be static, not exported

xfrm_state_clone() is not used outside of net/xfrm/xfrm_state.c
There is no need to export it.

Spoted by sparse checker.
   CHECK   net/xfrm/xfrm_state.c
net/xfrm/xfrm_state.c:1103:19: warning: symbol 'xfrm_state_clone' was not
declared. Should it be static?

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_state.c