include/linux/pgtable.h: : remove redundant pte variable
authorzhang songyi <zhang.songyi@zte.com.cn>
Mon, 28 Nov 2022 13:07:43 +0000 (21:07 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Dec 2022 02:12:11 +0000 (18:12 -0800)
commitd3a89233583bf8edab18ac09732759c71dbe0173
treed24c374ad0c118484077ece5c77c02d64af9390c
parent3cd629e5775397103e0428f62ce64747741dbfe5
include/linux/pgtable.h: : remove redundant pte variable

Return value from ptep_get_and_clear_full() directly instead of taking
this in another redundant variable.

Link: https://lkml.kernel.org/r/202211282107437343474@zte.com.cn
Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pgtable.h