of_mdio: merge branch tails in of_phy_register_fixed_link()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 12 Aug 2017 21:03:06 +0000 (00:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 03:07:26 +0000 (20:07 -0700)
commit5a7a8346498c02bbb0d6512c561f1dbfab0fcf62
tree2977b1d9dee10cc3cc0b570899f0147c3f89dafb
parent19a2afbea89f93d0e4ac09f8c4720c8afcfb5e6a
of_mdio: merge branch tails in of_phy_register_fixed_link()

Looks  like gcc isn't always able to figure  out that 3 *if* branches in
of_phy_register_fixed_link() calling fixed_phy_register() at their ends
are similar enough and thus can be merged. The "manual" merge saves 40
bytes of the object code (AArch64 gcc 4.8.5), and still saves 12 bytes
even  if gcc was able to merge the branch tails (ARM gcc 4.8.5)...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/of_mdio.c