diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-11 08:03:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-12 16:50:46 -0500 |
commit | 83400b990cd78a774a932223e83a19b1f816f24e (patch) | |
tree | b1cb91f81f7b8120cde200e54df01828d26ea73e /net/xfrm | |
parent | d0d2cc53a058cc3768e3dc0d6e5e3fae0d944363 (diff) |
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 <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_algo.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c index debe733386f8..12e82a5e4ad5 100644 --- a/net/xfrm/xfrm_algo.c +++ b/net/xfrm/xfrm_algo.c | |||
@@ -561,11 +561,6 @@ static struct xfrm_algo_desc calg_list[] = { | |||
561 | }, | 561 | }, |
562 | }; | 562 | }; |
563 | 563 | ||
564 | static inline int aead_entries(void) | ||
565 | { | ||
566 | return ARRAY_SIZE(aead_list); | ||
567 | } | ||
568 | |||
569 | static inline int aalg_entries(void) | 564 | static inline int aalg_entries(void) |
570 | { | 565 | { |
571 | return ARRAY_SIZE(aalg_list); | 566 | return ARRAY_SIZE(aalg_list); |