diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-03-01 15:44:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-04 02:54:55 +0100 |
commit | ec6de57cb79b4d301ce04a85fd1d628b0293d76f (patch) | |
tree | f02b2f2fcdc6481807cda95f934ffba148a93e10 /drivers | |
parent | net/freescale: Don't set zero if FW not-available in ucc_geth (diff) | |
download | linux-ec6de57cb79b4d301ce04a85fd1d628b0293d76f.tar.xz linux-ec6de57cb79b4d301ce04a85fd1d628b0293d76f.zip |
net/freescale: Don't set zero if FW iand bus not-available in gianfar
Rely on ethtool to properly present the fact that FW and bus
are not available for the gianfar driver.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/freescale/gianfar_ethtool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/gianfar_ethtool.c b/drivers/net/ethernet/freescale/gianfar_ethtool.c index 7b69e80d6b30..a7cc371ee94f 100644 --- a/drivers/net/ethernet/freescale/gianfar_ethtool.c +++ b/drivers/net/ethernet/freescale/gianfar_ethtool.c @@ -164,8 +164,6 @@ static void gfar_gdrvinfo(struct net_device *dev, struct ethtool_drvinfo *drvinfo) { strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); - strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); - strlcpy(drvinfo->bus_info, "N/A", sizeof(drvinfo->bus_info)); } /* Return the length of the register structure */ |