mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
net/mlx5: Lag, use local variable already defined to access E-Switch
Use the local variable for dev0 (and add from dev1) instead of using the devices stored in the ldev structure. Makes the code easier to read. Signed-off-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
parent
1749c4c51c
commit
9278287e8d
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue