Skip to content
Commit 5758478a authored by Jingyu Wang's avatar Jingyu Wang Committed by Andrew Morton
Browse files

ipc: mqueue: remove unnecessary conditionals

iput() already handles null and non-null parameters, so there is no need
to use if().

Link: https://lkml.kernel.org/r/20220908185452.76590-1-jingyuwang_vip@163.com


Signed-off-by: default avatarJingyu Wang <jingyuwang_vip@163.com>
Acked-by: default avatarRoman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 8f824b4a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment