idr: don't need to shink the free list when idr_remove()
authorLai Jiangshan <[email protected]>
Fri, 6 Jun 2014 21:37:13 +0000 (14:37 -0700)
committerLinus Torvalds <[email protected]>
Fri, 6 Jun 2014 23:08:12 +0000 (16:08 -0700)
commitaefb76829742803751725bc75bcdc43fe803ac22
tree85004d21e1aa64ac890e6032d16538b242e0d8ed
parentb93804b2fcdb35cc45f95ad77cbe23cc620f6593
idr: don't need to shink the free list when idr_remove()

After idr subsystem is changed to RCU-awared, the free layer will not go
to the free list.  The free list will not be filled up when
idr_remove().  So we don't need to shink it too.

Signed-off-by: Lai Jiangshan <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/idr.c