diff options
author | Subbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@xilinx.com> | 2014-09-11 14:53:33 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-12 18:15:40 -0400 |
commit | c706471b2601d1c9058e7b866db77f6eb7dd37af (patch) | |
tree | 0b13ef521e075d1593adf93dbfda04f6cff5e94c /drivers | |
parent | e9c3f99f8b176369929b44e6c80043ab1036009f (diff) | |
download | blackbird-obmc-linux-c706471b2601d1c9058e7b866db77f6eb7dd37af.tar.gz blackbird-obmc-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')
-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); |