| commit | efabe73c9b520d8fa354653993d1205cc68c315f | [log] [tgz] |
|---|---|---|
| author | Al Viro <viro@zeniv.linux.org.uk> | Thu Sep 06 22:55:15 2018 -0400 |
| committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Sep 08 20:33:12 2018 -0400 |
| tree | 8e04f4e8012f84766e9134e8f3da81bcc569bee8 | |
| parent | 18ca516a84bc96a2d8bbe0c942cd52425807fa0c [diff] |
net: sched: cls_u32: simplify the hell out u32_delete() emptiness check Now that we have the knode count, we can instantly check if any hnodes are non-empty. And that kills the check for extra references to root hnode - those could happen only if there was a knode to carry such a link. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>