net: xfrm: xfrm_algo: Remove unused function
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 11 Jan 2015 13:03:35 +0000 (14:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jan 2015 21:50:46 +0000 (16:50 -0500)
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>
net/xfrm/xfrm_algo.c

index debe733..12e82a5 100644 (file)
@@ -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);