From: Lai Jiangshan Date: Fri, 6 Jun 2014 21:37:14 +0000 (-0700) Subject: idr: reduce the unneeded check in free_layer() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~4^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15f3ec3f238a44181e1ae85b3cc2c27b9fece01b;p=pandora-kernel.git idr: reduce the unneeded check in free_layer() If "idr->hint == p" is true, it also implies "idr->hint" is true(not NULL). Signed-off-by: Lai Jiangshan Acked-by: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed