diff options
author | Jingyu Wang <jingyuwang_vip@163.com> | 2022-09-08 21:54:52 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-04 00:21:42 +0300 |
commit | 5758478a3d3c42a78ee9ddc4b08db3e968a68058 (patch) | |
tree | 4a739860546e85f4175cbea4c500fe2f3981e284 /lib/livepatch | |
parent | 8f824b4abd31c5ea32ae1d6725c47bdb247d18da (diff) | |
download | linux-5758478a3d3c42a78ee9ddc4b08db3e968a68058.tar.xz |
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: Jingyu Wang <jingyuwang_vip@163.com>
Acked-by: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/livepatch')
0 files changed, 0 insertions, 0 deletions