07/07/2022 11:23, 835703...@qq.com: > From: Shiqi Liu <835703...@qq.com> > > As the possible failure of the malloc(), the not_checked and > checked could be NULL pointer. > Therefore, it should be better to check it in order to avoid > the dereference of the NULL pointer. > > Fixes: fa8054c8c88 ("lib/node: add ethdev control") > Signed-off-by: Shiqi Liu <835703...@qq.com>
Removed useless braces and applied, thanks.