From: Rickard Strandqvist Date: Sun, 11 Jan 2015 13:03:35 +0000 (+0100) Subject: net: xfrm: xfrm_algo: Remove unused function X-Git-Tag: v4.0~334^2~249 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83400b990cd78a774a932223e83a19b1f816f24e;p=platform%2Fkernel%2Flinux-amlogic.git net: xfrm: xfrm_algo: Remove unused function Remove the function aead_entries() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c index debe733..12e82a5 100644 --- a/net/xfrm/xfrm_algo.c +++ b/net/xfrm/xfrm_algo.c @@ -561,11 +561,6 @@ static struct xfrm_algo_desc calg_list[] = { }, }; -static inline int aead_entries(void) -{ - return ARRAY_SIZE(aead_list); -} - static inline int aalg_entries(void) { return ARRAY_SIZE(aalg_list);