diff options
author | Subbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@xilinx.com> | 2014-09-11 09:23:33 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-12 22:15:40 (GMT) |
commit | c706471b2601d1c9058e7b866db77f6eb7dd37af (patch) | |
tree | 0b13ef521e075d1593adf93dbfda04f6cff5e94c /drivers/net/ethernet/xilinx | |
parent | e9c3f99f8b176369929b44e6c80043ab1036009f (diff) | |
download | linux-c706471b2601d1c9058e7b866db77f6eb7dd37af.tar.xz |
net: axienet: remove unnecessary ether_setup after alloc_etherdev
calling ether_setup is redundant since alloc_etherdev calls
it.
Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xilinx')
-rw-r--r-- | drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c index c8fd941..4ea2d4e 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c @@ -1485,7 +1485,6 @@ static int axienet_of_probe(struct platform_device *op) if (!ndev) return -ENOMEM; - ether_setup(ndev); platform_set_drvdata(op, ndev); SET_NETDEV_DEV(ndev, &op->dev); |