diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2014-06-06 14:37:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 16:08:12 -0700 |
commit | 15f3ec3f238a44181e1ae85b3cc2c27b9fece01b (patch) | |
tree | a8bdb83f4c4b224fa33bc4dfc5f2ac08b250e980 /virt | |
parent | aefb76829742803751725bc75bcdc43fe803ac22 (diff) | |
download | linux-15f3ec3f238a44181e1ae85b3cc2c27b9fece01b.tar.gz linux-15f3ec3f238a44181e1ae85b3cc2c27b9fece01b.tar.bz2 linux-15f3ec3f238a44181e1ae85b3cc2c27b9fece01b.zip |
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 <laijs@cn.fujitsu.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions