From: Lai Jiangshan Date: Fri, 6 Jun 2014 21:37:13 +0000 (-0700) Subject: idr: don't need to shink the free list when idr_remove() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~4^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aefb76829742803751725bc75bcdc43fe803ac22;p=pandora-kernel.git 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 Acked-by: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed