diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-04-02 09:35:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-02 16:43:56 -0400 |
commit | 6c5f7808efd7efc27be0f3c102f2a631ad6f038c (patch) | |
tree | 5173fe9abb2e1685f1c3a85a3c4796f62a03c3ee /net/unix | |
parent | 509070437d15ed06c3b0aa674661adc2906b83f2 (diff) | |
download | lwn-6c5f7808efd7efc27be0f3c102f2a631ad6f038c.tar.gz lwn-6c5f7808efd7efc27be0f3c102f2a631ad6f038c.zip |
net/freescale/fec: Simplify OF dependencies
Since of_get_mac_address() is now defined even if CONFIG_OF_NET
is not configured, the ifdef around the code calling it is no longer
necessary and can be removed.
Similar, since of_get_phy_mode() is now defined as dummy function
if OF_NET is not configured, it is no longer necessary to provide
an OF dependent function as front-end. Also, the function depends
on OF_NET, not on OF, so the conditional code was not correct anyway.
Drop the front-end function and call of_get_phy_mode() directly.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions