Message ID | 20240222090042.12609-3-john.g.garry@oracle.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 0a4e1b453a8aee4a0942b6a0b55ffe0c87956cba |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net/staging: Don't bother filling in ethtool driver version | expand |
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index f575f225d417..0a44bbdcfb7b 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c @@ -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,
The version is same as the default, so don't bother filling it in. Signed-off-by: John Garry <john.g.garry@oracle.com> --- drivers/net/team/team.c | 2 -- 1 file changed, 2 deletions(-)