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)
commit05af0ebb0810ba3f9669649134b4b4ad42540eba
tree88275c5ed31f272f70d0d9f4e1fa2bfb3d69e6bc
parent9ce75499ac140af71f0003322c99b6e58f39dfbe
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