diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2021-10-12 16:15:22 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-12 16:29:16 -0700 |
| commit | 2bc50987dc1f467551f2ca537239016915256f6d (patch) | |
| tree | c39e41c60af4b5ea1e1cace769057ca371ab98a7 /drivers/net/netdevsim/dev.c | |
| parent | devlink: Reduce struct devlink exposure (diff) | |
| download | linux-2bc50987dc1f467551f2ca537239016915256f6d.tar.gz linux-2bc50987dc1f467551f2ca537239016915256f6d.zip | |
devlink: Move netdev_to_devlink helpers to devlink.c
Both netdev_to_devlink and netdev_to_devlink_port are used in devlink.c
only, so move them in order to reduce their scope.
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/netdevsim/dev.c')
0 files changed, 0 insertions, 0 deletions
