Commit 83400b99 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by David S. Miller

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: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d0d2cc53
...@@ -561,11 +561,6 @@ static struct xfrm_algo_desc calg_list[] = { ...@@ -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) static inline int aalg_entries(void)
{ {
return ARRAY_SIZE(aalg_list); return ARRAY_SIZE(aalg_list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment