mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-07 22:42:04 +00:00
net: team: Don't bother filling in ethtool driver version
The version is same as the default, so don't bother filling it in. Signed-off-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20240222090042.12609-3-john.g.garry@oracle.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
23fe265fbf
commit
0a4e1b453a
@ -25,7 +25,6 @@
|
||||
#include <net/genetlink.h>
|
||||
#include <net/netlink.h>
|
||||
#include <net/sch_generic.h>
|
||||
#include <generated/utsrelease.h>
|
||||
#include <linux/if_team.h>
|
||||
|
||||
#define DRV_NAME "team"
|
||||
@ -2074,7 +2073,6 @@ static void team_ethtool_get_drvinfo(struct net_device *dev,
|
||||
struct ethtool_drvinfo *drvinfo)
|
||||
{
|
||||
strscpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver));
|
||||
strscpy(drvinfo->version, UTS_RELEASE, sizeof(drvinfo->version));
|
||||
}
|
||||
|
||||
static int team_ethtool_get_link_ksettings(struct net_device *dev,
|
||||
|
Loading…
Reference in New Issue
Block a user