diff options
author | Ido Schimmel <idosch@mellanox.com> | 2020-02-20 09:07:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-20 10:04:33 -0800 |
commit | 6627b93bf74b56e8a994c9b5972db51a9692a1e4 (patch) | |
tree | f334aebb8e243593f742729b44471a5329760eee /sound/isa | |
parent | 9a9f8d1e749a5c4df167bc964277c75b952e32b5 (diff) |
mlxsw: spectrum_span: Use struct_size() to simplify allocation
Allocate the main mirroring struct and the individual structs for the
different mirroring agents in a single allocation.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions