net: sched: sch_teql: Remove unused function
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 11 Jan 2015 14:08:46 +0000 (15:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
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 <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_teql.c

index 6ada423..4899d4a 100644 (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)
 {