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:
83400b9
)
net: sched: sch_teql: Remove unused function
author
Rickard Strandqvist
<
[email protected]
>
Sun, 11 Jan 2015 14:08:46 +0000
(15:08 +0100)
committer
David S. Miller
<
[email protected]
>
Mon, 12 Jan 2015 21:50:46 +0000
(16:50 -0500)
Remove the function teql_neigh_release() 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/sched/sch_teql.c
patch
|
blob
|
history
diff --git
a/net/sched/sch_teql.c
b/net/sched/sch_teql.c
index 6ada42396a242123fd7738309b79720d0b46b38e..4899d4a18aa54b97e2e3bdfcce0fc4330a7bb79f 100644
(file)
--- a/
net/sched/sch_teql.c
+++ b/
net/sched/sch_teql.c
@@
-122,13
+122,6
@@
teql_peek(struct Qdisc *sch)
return NULL;
}
-static inline void
-teql_neigh_release(struct neighbour *n)
-{
- if (n)
- neigh_release(n);
-}
-
static void
teql_reset(struct Qdisc *sch)
{