diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2017-07-23 21:45:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-24 16:27:34 -0700 |
commit | e470e4f787b94ba0a08cd3b49948e823416f5a6d (patch) | |
tree | b6a7109d4afda29ff41892271fae9d10b98d852e /block/bio.c | |
parent | a28b1b90de8322ecc45d58f1c08da12197dad17f (diff) | |
download | blackbird-obmc-linux-e470e4f787b94ba0a08cd3b49948e823416f5a6d.tar.gz blackbird-obmc-linux-e470e4f787b94ba0a08cd3b49948e823416f5a6d.zip |
of_mdio: kill useless variable in of_phy_register_fixed_link()
of_phy_register_fixed_link() declares the 'err' variable to hold the result
of of_property_read_string() but only uses it once after that, while that
function can be called directly from the *if* statement...
Remove that variable and move/regroup 'link_gpio' and 'len' variables in
order to sort the declarations in the reverse Xmas tree order -- to please
DaveM. ;-)
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions