]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: refactor grafting Qdiscs with a parent
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 8 Nov 2018 01:33:38 +0000 (17:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2018 00:19:48 +0000 (16:19 -0800)
commitf0c8a6b42cb5f3ce234323d0a8ab2024f8f0d8b3
treee14e23e727ee4b2a9746f8d4480d067713625296
parentdcd026a8c73a742edbf35c2c9d8c8263f2d89cd9
net: sched: refactor grafting Qdiscs with a parent

The code for grafting Qdiscs when there is a parent has two needless
indentation levels, and breaks the "keep the success path unindented"
guideline.  Refactor.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: John Hurley <john.hurley@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c