OSDN Git Service

sch_cake: drop unused variable tin_quantum_prio
authorKevin 'ldir' Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 18 Dec 2019 14:05:13 +0000 (14:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2019 21:27:33 +0000 (13:27 -0800)
commitcbd22f172df782d6b2150044d0ff2051bad2a00f
treeec57e8a9205bc53d00c39db7f9781b273d543025
parentdcbe4e95751ad4eae9935f68e639b5789a74d70e
sch_cake: drop unused variable tin_quantum_prio

Turns out tin_quantum_prio isn't used anymore and is a leftover from a
previous implementation of diffserv tins.  Since the variable isn't used
in any calculations it can be eliminated.

Drop variable and places where it was set.  Rename remaining variable
and consolidate naming of intermediate variables that set it.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cake.c