diff options
author | Antoine Tenart <atenart@kernel.org> | 2021-10-08 17:21:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-10 13:29:14 +0300 |
commit | c0288ae8e6bd402785360de5bbc94ded770af000 (patch) | |
tree | 1c2da194f8c0198b77514161a56de2efefef6bda /drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c | |
parent | 67999555ff42e91de7654488d9a7735bd9e84555 (diff) | |
download | linux-c0288ae8e6bd402785360de5bbc94ded770af000.tar.xz |
net: make dev_get_port_parent_id slightly more readable
Cosmetic commit making dev_get_port_parent_id slightly more readable.
There is no need to split the condition to return after calling
devlink_compat_switch_id_get and after that 'recurse' is always true.
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c')
0 files changed, 0 insertions, 0 deletions