summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-08-24 16:38:09 +0300
committerJakub Kicinski <kuba@kernel.org>2023-08-26 04:55:18 +0300
commit2b070cdd3afd53518e04d2813bb9df5ad93505f7 (patch)
tree4d6e07b0894c316cb520df8967400044a7948921 /scripts/gdb/linux/vmalloc.py
parent1a37c1c198320cce184b70772f78368aba0dec57 (diff)
downloadlinux-2b070cdd3afd53518e04d2813bb9df5ad93505f7.tar.xz
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) <rmk+kernel@armlinux.org.uk> Link: https://lore.kernel.org/r/E1qZAXJ-005pU1-1z@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions