diff options
author | Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> | 2014-12-23 18:07:55 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-26 17:06:20 -0500 |
commit | 16d8614b4f67fad7d12df34c53c9a1bab91fec49 (patch) | |
tree | 709951f0bce7e0b3efc9bcd2ec0e62a3ccf01040 /drivers/net/ethernet/xilinx/xilinx_axienet_main.c | |
parent | d0e1df9cf4a98fac8508f1d73d0f3a147d6c2c85 (diff) | |
download | blackbird-op-linux-16d8614b4f67fad7d12df34c53c9a1bab91fec49.tar.gz blackbird-op-linux-16d8614b4f67fad7d12df34c53c9a1bab91fec49.zip |
net: xilinx: Remove unnecessary temac_property in the driver
This property is no longer used in the code yet the code looks for it in the device tree.
It does not cause an error if it's not in the tree.
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xilinx/xilinx_axienet_main.c')
-rw-r--r-- | drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c index 4ea2d4e6f1d1..c18a0c637c44 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c @@ -1555,10 +1555,6 @@ static int axienet_of_probe(struct platform_device *op) if ((be32_to_cpup(p)) >= 0x4000) lp->jumbo_support = 1; } - p = (__be32 *) of_get_property(op->dev.of_node, "xlnx,temac-type", - NULL); - if (p) - lp->temac_type = be32_to_cpup(p); p = (__be32 *) of_get_property(op->dev.of_node, "xlnx,phy-type", NULL); if (p) lp->phy_type = be32_to_cpup(p); |