summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@bootlin.com>2018-10-08 13:07:28 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-08 20:29:21 +0300
commit629ea0f14080ce1393219904ed1ecbaacf70ab22 (patch)
tree61230379b3ed8284a4260cd4c5927d7cc8ce87e5 /tools/perf/scripts/python
parent6f0430c78c05ce288f0ead7d440233a0fb9cac31 (diff)
downloadlinux-629ea0f14080ce1393219904ed1ecbaacf70ab22.tar.xz
net: phy: mscc: remove unneeded temporary variable
Here, the rc variable is either used only for the condition right after the assignment or right before being used as the return value of the function it's being used in. So let's remove this unneeded temporary variable whenever possible. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions