]> git.baikalelectronics.ru Git - kernel.git/commit
mm/secretmem: remove reduntant return value
authorXiu Jianfeng <xiujianfeng@huawei.com>
Tue, 20 Sep 2022 01:22:05 +0000 (09:22 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:36 +0000 (14:03 -0700)
commit95e4323522f6618c264661c0632791abff6ee5f9
treef9a87c420773e409abc51f6b94323039b7a7dd86
parente79486ff600fdab73b8ffcb90e9e5db596d39900
mm/secretmem: remove reduntant return value

The return value @ret is always 0, so remove it and return 0 directly.

Link: https://lkml.kernel.org/r/20220920012205.246217-1-xiujianfeng@huawei.com
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/secretmem.c