diff options
| author | 2023-06-12 17:31:03 +0200 | |
|---|---|---|
| committer | 2023-06-14 13:12:20 +0200 | |
| commit | 2019b5eeae2af862af41882b0863d61dfdaee25d (patch) | |
| tree | 95e09daf68f39d849c34394aee860606620914b4 /lib/xarray.c | |
| parent | mlxsw: spectrum_router: Access rif->dev through a helper (diff) | |
| download | wireguard-linux-2019b5eeae2af862af41882b0863d61dfdaee25d.tar.xz wireguard-linux-2019b5eeae2af862af41882b0863d61dfdaee25d.zip | |
mlxsw: spectrum_router: Access rif->dev from params in mlxsw_sp_rif_create()
The previous patch added a helper to access a netdevice given a RIF. Using
this helper in mlxsw_sp_rif_create() is unreasonable: the netdevice was
given in RIF creation parameters. Just take it there.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions
