diff options
author | Bogdan Hamciuc <bogdan.hamciuc@freescale.com> | 2013-04-12 11:14:24 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-16 21:04:46 (GMT) |
commit | 9ecbfc11ab7f9a8bdc2c89f9567f489d40a0cc2c (patch) | |
tree | 770d7c3a9f375c996dfbad32ef5574ae7d777083 | |
parent | 625d3bb73089d894f489c82e14867e4acb5d16e6 (diff) | |
download | linux-fsl-qoriq-9ecbfc11ab7f9a8bdc2c89f9567f489d40a0cc2c.tar.xz |
dpaa: Eliminate unused variable
commit be7eb995
dpaa_eth: Update PR processing routine on Rx path
leaves an unitialized variable which triggers a compiler warning.
Eliminating the unnecessary declaration.
To avoid resubmitting the whole set of patches after that one, I'm
adding this fix.
*** Please squash this with "commit be7eb995
*** dpaa_eth: Update PR processing routine on Rx path" ***
Change-Id: Id9d99a2b9ec53d87560d5367a22c1f1c67aa5b39
Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/1289
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth.c index 96fffe6..f2b247e 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth.c @@ -1291,7 +1291,6 @@ void __hot _dpa_rx(struct net_device *net_dev, u32 fd_status = fd->status; unsigned int skb_len; t_FmPrsResult *parse_result; - int ret; unsigned int hdr_size_unused; int use_gro = net_dev->features & NETIF_F_GRO; |