summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-05-31 14:51:15 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-03 17:59:32 +0300
commitdeba328ce9b04085c6a214f7dbf5aa8f4f9041a1 (patch)
treedc4eb1a0f45461472e0f32cdf8f06f7c5ce03d28 /drivers/net/ethernet/xilinx/xilinx_axienet_main.c
parentb0949618826cbb64e9ba764bdd52aa14eaf5073d (diff)
downloadlinux-deba328ce9b04085c6a214f7dbf5aa8f4f9041a1.tar.xz
net: axienet: remove stale comment of axienet_open
axienet_open no longer return -ENODEV when PHY cannot be connected to since commit d7cc3163e026 ("net: axienet: Support phy-less mode of operation") Signed-off-by: YueHaibing <yuehaibing@huawei.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.c1
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 e74e1e897864..f24f48f33802 100644
--- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
+++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
@@ -900,7 +900,6 @@ static void axienet_dma_err_handler(unsigned long data);
* @ndev: Pointer to net_device structure
*
* Return: 0, on success.
- * -ENODEV, if PHY cannot be connected to
* non-zero error value on failure
*
* This is the driver open routine. It calls phy_start to start the PHY device.