summaryrefslogtreecommitdiff
path: root/net/sched
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2015-01-11 17:08:46 +0300
committerDavid S. Miller <davem@davemloft.net>2015-01-13 00:50:46 +0300
commitddcde70cbf2f837a083012965eaec6d213b87c48 (patch)
tree60a2b427139b062e8890624cff663c9051681cea /net/sched
parent83400b990cd78a774a932223e83a19b1f816f24e (diff)
downloadlinux-ddcde70cbf2f837a083012965eaec6d213b87c48.tar.xz
net: sched: sch_teql: Remove unused function
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 <rickard_strandqvist@spectrumdigital.se> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_teql.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/sched/sch_teql.c b/net/sched/sch_teql.c
index 6ada42396a24..4899d4a18aa5 100644
--- 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)
{