aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLai Jiangshan <[email protected]>2014-06-06 14:37:14 -0700
committerLinus Torvalds <[email protected]>2014-06-06 16:08:12 -0700
commit15f3ec3f238a44181e1ae85b3cc2c27b9fece01b (patch)
treea8bdb83f4c4b224fa33bc4dfc5f2ac08b250e980 /include/linux
parentaefb76829742803751725bc75bcdc43fe803ac22 (diff)
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 <[email protected]> Acked-by: Tejun Heo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions