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>
This commit is contained in:
Rickard Strandqvist 2015-01-11 15:08:46 +01:00 committed by David S. Miller
parent 83400b990c
commit ddcde70cbf

View File

@ -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)
{