diff options
author | Russell King (Oracle) <[email protected]> | 2023-08-24 14:38:09 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-25 18:55:18 -0700 |
commit | 2b070cdd3afd53518e04d2813bb9df5ad93505f7 (patch) | |
tree | 4d6e07b0894c316cb520df8967400044a7948921 /tools/perf/scripts/python | |
parent | 1a37c1c198320cce184b70772f78368aba0dec57 (diff) |
net: stmmac: use "mdio_bus_data" local variable
We have a local variable for priv->plat->mdio_bus_data, which we use
later in the conditional if() block, but we evaluate the above within
the conditional expression. Use mdio_bus_data instead. Since these
will be the only two users of this local variable, move its assignment
just before the if().
Signed-off-by: Russell King (Oracle) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions