diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-09-15 13:50:43 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-20 13:53:34 -0700 |
commit | fa65edde5e490988bfb8945317dd8e546bd7e7ab (patch) | |
tree | e5de1ec1d22bd93a4b60d8c2d4275481be3b108e /net/sched/sch_htb.c | |
parent | 9af23657b33679b5b8d8579ca1cc0214398f576f (diff) |
net/sched: taprio: remove redundant FULL_OFFLOAD_IS_ENABLED check in taprio_enqueue
Since commit 13511704f8d7 ("net: taprio offload: enforce qdisc to netdev
queue mapping"), __dev_queue_xmit() will select a txq->qdisc for the
full offload case of taprio which isn't the root taprio qdisc, so
qdisc enqueues will never pass through taprio_enqueue().
That commit already introduced one safety precaution check for
FULL_OFFLOAD_IS_ENABLED(); a second one is really not needed, so
simplify the conditional for entering into the GSO segmentation logic.
Also reword the comment a little, to appear more natural after the code
change.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sched/sch_htb.c')
0 files changed, 0 insertions, 0 deletions