Skip to content
Commit 402fbb99 authored by Antoine Tenart's avatar Antoine Tenart Committed by David S. Miller
Browse files

net: add an helper to copy xps maps to the new dev_maps



This patch adds an helper, xps_copy_dev_maps, to copy maps from dev_maps
to new_dev_maps at a given index. The logic should be the same, with an
improved code readability and maintenance.

Signed-off-by: default avatarAntoine Tenart <atenart@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 044ab86d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment