Skip to content

Commit

Permalink
net: xfrm: xfrm_algo: Remove unused function
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Rickard Strandqvist authored and davem330 committed Jan 12, 2015
1 parent d0d2cc5 commit 83400b9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions net/xfrm/xfrm_algo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 83400b9

Please sign in to comment.