summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_mqprio.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2016-02-28 21:56:34 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-01 17:41:22 -0500
commit2fca6d288d7cac2debf170da021780cd8265c645 (patch)
treef4e4a7990689e8a3b6e44bc8f6e2f42c61f3fcb7 /net/sched/sch_mqprio.c
parent87f761ecfbba35fe0f4dc117d11f0105f47cb120 (diff)
downloadlinux-2fca6d288d7cac2debf170da021780cd8265c645.tar.gz
linux-2fca6d288d7cac2debf170da021780cd8265c645.tar.bz2
linux-2fca6d288d7cac2debf170da021780cd8265c645.zip
of_mdio: kill useless variable in of_mdiobus_register()
of_mdiobus_register() declares the 'paddr' variable to hold the result of the of_get_property() but only uses it once after that while the function can be called directly from the *if* statement. Remove that variable and switch to calling of_find_property() instead since we don't care about the "reg" property's value anyway... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_mqprio.c')
0 files changed, 0 insertions, 0 deletions