7769a4d7abe339ce273c13a203394a79a11fcff9
The last change to the trimming routine made it more efficient, however, we can even get rid of the memmove() as we leave the function with strdup() anyway. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/20210920194633.814-1-mhei@heimpold.de Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>