Commit ec6de57c authored by Leon Romanovsky's avatar Leon Romanovsky Committed by David S. Miller
Browse files

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: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bf5d4c06
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 */