Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net/dnet: Delete static version from the driver

Remove static driver version from the ethtool output.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Leon Romanovsky and committed by
David S. Miller
672c88db 02ff70b2

-2
-1
drivers/net/ethernet/dnet.c
··· 729 729 struct ethtool_drvinfo *info) 730 730 { 731 731 strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); 732 - strlcpy(info->version, DRV_VERSION, sizeof(info->version)); 733 732 strlcpy(info->bus_info, "0", sizeof(info->bus_info)); 734 733 } 735 734
-1
drivers/net/ethernet/dnet.h
··· 8 8 #define _DNET_H 9 9 10 10 #define DRV_NAME "dnet" 11 - #define DRV_VERSION "0.9.1" 12 11 #define PFX DRV_NAME ": " 13 12 14 13 /* Register access macros */