07/07/2022 11:23, [email protected]: > From: Shiqi Liu <[email protected]> > > 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 <[email protected]>
Removed useless braces and applied, thanks.

