diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-02-24 10:53:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-24 11:24:47 -0800 |
commit | 655b72126eaa13ff27a29b33e1d41e306c5786ee (patch) | |
tree | 9b7f0d7dd6a9febb2e40fb04bb5a8b0c92f33bbb /drivers/net/ethernet/apm/xgene | |
parent | 8ed211af28d9dee766a8f5bf42d2f1ff6eebe8e1 (diff) |
net/apm: Properly mark absence of FW
There is no need to set "N/A" if FW is not available.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apm/xgene')
-rw-r--r-- | drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c b/drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c index 4e7a95bd83d7..ada70425b48c 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c @@ -103,7 +103,6 @@ static void xgene_get_drvinfo(struct net_device *ndev, struct platform_device *pdev = pdata->pdev; strcpy(info->driver, "xgene_enet"); - snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "N/A"); sprintf(info->bus_info, "%s", pdev->name); } |