]> git.baikalelectronics.ru Git - kernel.git/commit
drop_monitor: Remove duplicate struct
authorIdo Schimmel <idosch@mellanox.com>
Tue, 29 Sep 2020 08:15:54 +0000 (11:15 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Oct 2020 01:01:26 +0000 (18:01 -0700)
commit86579ffaf7efaff6cb82c6c0c833ca30684012e7
treef2ffc502b989976ecf49f2dcb7cbd8c40cc37f11
parentdbf5482aa53b2aa86b4408b47496805d3f63a771
drop_monitor: Remove duplicate struct

'struct net_dm_hw_metadata' is a duplicate of 'struct
devlink_trap_metadata'.

Remove the former and simplify the code.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/drop_monitor.c