Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddcde70c authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by David S. Miller
Browse files

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: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 83400b99
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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)
{