diff options
author | Subbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@xilinx.com> | 2014-09-11 11:23:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-13 00:15:40 +0200 |
commit | c706471b2601d1c9058e7b866db77f6eb7dd37af (patch) | |
tree | 0b13ef521e075d1593adf93dbfda04f6cff5e94c /drivers/net/ethernet/xilinx | |
parent | ethernet: amd: use pr_info_once() (diff) | |
download | linux-c706471b2601d1c9058e7b866db77f6eb7dd37af.tar.xz linux-c706471b2601d1c9058e7b866db77f6eb7dd37af.zip |
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 c8fd94133ecd..4ea2d4e6f1d1 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); |