Yanan Wang <wangyana...@huawei.com> writes: > Functionally smp_parse() is only called once and in one place > i.e. machine_set_smp, the possible second place where it'll be > called should be some unit tests if any. > > Actually we are going to introduce an unit test for the parser. > For necessary isolation of the tested code, split smp_parse out > into a separate header as an inline API.
Why inline? > Signed-off-by: Yanan Wang <wangyana...@huawei.com>