OSDN Git Service

net: dsa: hellcreek: Move common code to helper
authorKurt Kanzenbach <kurt@kmk-computers.de>
Sat, 13 Mar 2021 09:39:38 +0000 (10:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2021 22:30:48 +0000 (14:30 -0800)
commiteb5f3d3141805fd22b2fb49a23536cc3f30dd752
treed02707f2258cd73dce1f9014393fcc7e137ee634
parente81813fb56350641d8d3ba6bb6811ecaab934f10
net: dsa: hellcreek: Move common code to helper

There are two functions which need to populate fdb entries. Move that to a
helper function.

Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/hirschmann/hellcreek.c