From: Rickard Strandqvist Date: Sun, 11 Jan 2015 14:08:46 +0000 (+0100) Subject: net: sched: sch_teql: Remove unused function X-Git-Tag: v4.0-rc1~133^2~248 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ddcde70cbf2f837a083012965eaec6d213b87c48;p=karo-tx-linux.git 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 Signed-off-by: David S. Miller --- 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) {