Searched hist:"6 af5fa0dc7836ea44bb0659f002b0cd0a2970554" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | mprotect.c | diff 6af5fa0dc7836ea44bb0659f002b0cd0a2970554 Fri Nov 05 15:39:03 CDT 2021 Liu Song <liu.song11@zte.com.cn> mm/mprotect.c: avoid repeated assignment in do_mprotect_pkey()
After adjustment, the repeated assignment of "prev" is avoided, and the readability of the code is improved.
Link: https://lkml.kernel.org/r/20211012152444.4127-1-fishland@aliyun.com Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Liu Song <liu.song11@zte.com.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|