diff options
author | Bogdan Hamciuc <bogdan.hamciuc@freescale.com> | 2013-04-12 09:33:16 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-16 21:03:08 (GMT) |
commit | 625d3bb73089d894f489c82e14867e4acb5d16e6 (patch) | |
tree | f6d7c72f01d46d9e06fd3c0e42850558c55a2038 | |
parent | 6c41f53430621405d32cef98126c2516cd678215 (diff) | |
download | linux-fsl-qoriq-625d3bb73089d894f489c82e14867e4acb5d16e6.tar.xz |
dpaa_eth: Remove obsolete compile-time warnings
Eliminate a couple of #warning directives that are no longer useful.
Change-Id: Ifafe15f50a7eaa031f0b0a87a8655ccf1ee4b1e7
Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/1283
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_eth.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/mac-api.c | 10 |
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth.c index 143bc53..96fffe6 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth.c @@ -3430,8 +3430,6 @@ dpa_fq_probe(struct platform_device *_of_dev, struct list_head *list, FQ_TYPE_RX_PCD : FQ_TYPE_TX); } -#warning We lost the 8-queue enforcement - for (j = 0; j < fqids[i].count; j++) { dpa_fq[j].fqid = fqids[i].start ? fqids[i].start + j : 0; diff --git a/drivers/net/ethernet/freescale/dpa/mac-api.c b/drivers/net/ethernet/freescale/dpa/mac-api.c index 2469848..b7987fa 100644 --- a/drivers/net/ethernet/freescale/dpa/mac-api.c +++ b/drivers/net/ethernet/freescale/dpa/mac-api.c @@ -439,18 +439,8 @@ static void adjust_link(struct net_device *net_dev) if (!phy_dev->link) { #if (DPAA_VERSION < 11) -#warning fsl_pq_mdio_lock() no longer supported -/* - fsl_pq_mdio_lock(NULL); -*/ - mac_priv = (struct mac_priv_s *)macdev_priv(mac_dev); DtsecRestartTbiAN(mac_priv->mac); - -#warning fsl_pq_mdio_unlock() no longer supported -/* - fsl_pq_mdio_unlock(NULL); -*/ #endif return; } |