On 4/15/2022 5:29 AM, Jakob Koschel wrote:
From: Vladimir Oltean <vladimir.olt...@nxp.com>

When passed a non-head list element, list_add_tail() actually adds the
new element to its left, which is what we want. Despite the slightly
confusing name, use the dedicated function which does the same thing as
the open-coded list_add(pos->prev).

Suggested-by: Jakub Kicinski <k...@kernel.org>
Signed-off-by: Vladimir Oltean <vladimir.olt...@nxp.com>
Signed-off-by: Jakob Koschel <jakobkosc...@gmail.com>

Reviewed-by: Florian Fainelli <f.faine...@gmail.com>
--
Florian

Reply via email to