Skip to content

Commit 5b91b73

Browse files
Ioana Radulescugregkh
authored andcommitted
staging: fsl-dpaa2/eth: Remove unused driver version
We never really used the driver version, so no point in keeping it around. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 227686b commit 5b91b73

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ MODULE_LICENSE("Dual BSD/GPL");
5555
MODULE_AUTHOR("Freescale Semiconductor, Inc");
5656
MODULE_DESCRIPTION("Freescale DPAA2 Ethernet Driver");
5757

58-
const char dpaa2_eth_drv_version[] = "0.1";
59-
6058
static void *dpaa2_iova_to_virt(struct iommu_domain *domain,
6159
dma_addr_t iova_addr)
6260
{

drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ struct dpaa2_eth_priv {
392392
#define DPAA2_CLASSIFIER_DMA_SIZE 256
393393

394394
extern const struct ethtool_ops dpaa2_ethtool_ops;
395-
extern const char dpaa2_eth_drv_version[];
396395
extern int dpaa2_phc_index;
397396

398397
static inline int dpaa2_eth_cmp_dpni_ver(struct dpaa2_eth_priv *priv,

drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ static void dpaa2_eth_get_drvinfo(struct net_device *net_dev,
8282
struct dpaa2_eth_priv *priv = netdev_priv(net_dev);
8383

8484
strlcpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver));
85-
strlcpy(drvinfo->version, dpaa2_eth_drv_version,
86-
sizeof(drvinfo->version));
8785

8886
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
8987
"%u.%u", priv->dpni_ver_major, priv->dpni_ver_minor);

0 commit comments

Comments
 (0)