diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-08-08 14:41:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-08 12:54:12 +0100 |
commit | 82564f6c706a37e5f7dec962375581cc9f8fca5d (patch) | |
tree | 5ea3055cca5a6588045e1b46321dd2df2a811e8a /drivers/atm | |
parent | 39f32101543be35c60dd984b44c620d565083d33 (diff) | |
download | linux-stable-82564f6c706a37e5f7dec962375581cc9f8fca5d.tar.gz linux-stable-82564f6c706a37e5f7dec962375581cc9f8fca5d.tar.bz2 linux-stable-82564f6c706a37e5f7dec962375581cc9f8fca5d.zip |
devlink: Simplify devlink port API calls
Devlink port already has pointer to the devlink instance and all API
calls that forward these devlink ports to the drivers perform same
"devlink_port->devlink" assignment before actual call.
This patch removes useless parameter and allows us in the future
to create specific devlink_port_ops to manage user space access with
reliable ops assignment.
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions