diff options
author | Petr Machata <petrm@nvidia.com> | 2023-06-09 19:32:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-12 09:49:29 +0100 |
commit | 50f6c3d57e9a7d11ff935198c1d55d37975c2fa4 (patch) | |
tree | f0d214cba946b9dac7a456db997b45722c7cbf8b /net/unix/af_unix.c | |
parent | e069ba07e6c7af69e119316bc87ff44869095f49 (diff) | |
download | linux-50f6c3d57e9a7d11ff935198c1d55d37975c2fa4.tar.gz linux-50f6c3d57e9a7d11ff935198c1d55d37975c2fa4.tar.bz2 linux-50f6c3d57e9a7d11ff935198c1d55d37975c2fa4.zip |
mlxsw: spectrum_router: mlxsw_sp_router_fini(): Extract a helper variable
Make mlxsw_sp_router_fini() more similar to the _init() function (and more
concise) by extracting the `router' handle to a named variable and using
that throughout. The availability of a dedicated `router' variable will
come in handy in following patches.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions