Skip to content
Commit c30c8763 authored by Li Zhijian's avatar Li Zhijian Committed by Paul E. McKenney
Browse files

refscale: Simplify the errexit checkpoint



There is only the one OOM error case in main_func(), so this commit
eliminates the errexit local variable in favor of a branch to cleanup
code.

Signed-off-by: default avatarLi Zhijian <lizhijian@cn.fujitsu.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 340170fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment