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: NKurt Kanzenbach <kurt@kmk-computers.de> Reviewed-by: NAndrew Lunn <andrew@lunn.ch> Reviewed-by: NVladimir Oltean <olteanv@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录