]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ef06766d5f690630636d83692984a130f0e480d
treeec57e8a9205bc53d00c39db7f9781b273d543025
parent355195795e7c5d88404b6b33250a9a17438ed826
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