diff options
author | Jiri Pirko <jiri@mellanox.com> | 2020-01-20 09:52:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-20 13:25:46 +0100 |
commit | 31c25b949813292e2f85b0e8708b767e55aba093 (patch) | |
tree | 3fa1b9248e8b6fab457c5152af6137e1bcc7e37b /drivers/net/ethernet/mellanox/mlxsw/spectrum.c | |
parent | ac9cc4e25044b699eb8f0f4822ad58a2f5130abb (diff) |
mlxsw: spectrum_span: Put buffsize update code into helper function
Avoid duplication of code that is doing buffsize update and put it into
a separate helper function.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.c')
0 files changed, 0 insertions, 0 deletions