]> git.baikalelectronics.ru Git - kernel.git/commit
cls_basic: Convert to use idr_alloc_u32
authorMatthew Wilcox <mawilcox@microsoft.com>
Tue, 28 Nov 2017 15:36:09 +0000 (10:36 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 6 Feb 2018 21:41:26 +0000 (16:41 -0500)
commit830a8b53e42d8ab786f0c91975933a0035de76f4
tree88275c5ed31f272f70d0d9f4e1fa2bfb3d69e6bc
parent63d42a6f63b9639c00fe1e8d36631030cc8c72e1
cls_basic: Convert to use idr_alloc_u32

Use the new helper which saves a temporary variable and a few lines of
code.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
net/sched/cls_basic.c