Skip to content

Commit

Permalink
staging: fsl-dpaa2/eth: Remove unused driver version
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ioana Radulescu authored and Greg Kroah-Hartman committed Jul 27, 2018
1 parent 227686b commit 5b91b73
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ MODULE_LICENSE("Dual BSD/GPL");
MODULE_AUTHOR("Freescale Semiconductor, Inc");
MODULE_DESCRIPTION("Freescale DPAA2 Ethernet Driver");

const char dpaa2_eth_drv_version[] = "0.1";

static void *dpaa2_iova_to_virt(struct iommu_domain *domain,
dma_addr_t iova_addr)
{
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ struct dpaa2_eth_priv {
#define DPAA2_CLASSIFIER_DMA_SIZE 256

extern const struct ethtool_ops dpaa2_ethtool_ops;
extern const char dpaa2_eth_drv_version[];
extern int dpaa2_phc_index;

static inline int dpaa2_eth_cmp_dpni_ver(struct dpaa2_eth_priv *priv,
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ static void dpaa2_eth_get_drvinfo(struct net_device *net_dev,
struct dpaa2_eth_priv *priv = netdev_priv(net_dev);

strlcpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver));
strlcpy(drvinfo->version, dpaa2_eth_drv_version,
sizeof(drvinfo->version));

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

0 comments on commit 5b91b73

Please sign in to comment.