[PATCH] app/testpmd: remove useless pointer checks
Thomas Monjalon
thomas at monjalon.net
Tue Mar 29 11:26:30 CEST 2022
24/03/2022 17:15, David Marchand:
> Parameters to this static helper can't be NULL.
> str has already been dereferenced in caller.
> dst and size point to variable in stack.
The same function is copy/pasted in several places.
Why simplifying only this one? because of its static nature?
Shouldn't we make it a common function as other string helpers?
More information about the stable
mailing list