projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0d2cc5
)
net: xfrm: xfrm_algo: Remove unused function
author
Rickard Strandqvist
<
[email protected]
>
Sun, 11 Jan 2015 13:03:35 +0000
(14:03 +0100)
committer
David S. Miller
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/xfrm/xfrm_algo.c
patch
|
blob
|
history
diff --git
a/net/xfrm/xfrm_algo.c
b/net/xfrm/xfrm_algo.c
index debe733386f859b9456db893c78b8a44e9fce14c..12e82a5e4ad5873e716014e421be8e329587e00c 100644
(file)
--- 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);