summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@nxp.com>2017-01-12 07:54:28 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-12-12 07:32:35 (GMT)
commit204582837dc980b65cf608aefa65fb5916903773 (patch)
treeef89bfde734ca5d86893d40d2897cb04b66f36d4
parent220cadfa3828a8f6e8bd6970f0dd82b18edde131 (diff)
downloadlinux-204582837dc980b65cf608aefa65fb5916903773.tar.xz
dpaa_eth: remove redundant initialization
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
-rw-r--r--drivers/net/ethernet/freescale/dpaa/dpaa_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
index e2ca107..e19181f 100644
--- a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
+++ b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
@@ -2093,7 +2093,7 @@ static enum qman_cb_dqrr_result rx_default_dqrr(struct qman_portal *portal,
dma_addr_t addr = qm_fd_addr(fd);
enum qm_fd_format fd_format;
struct net_device *net_dev;
- u32 fd_status = fd->status;
+ u32 fd_status;
struct dpaa_bp *dpaa_bp;
struct dpaa_priv *priv;
unsigned int skb_len;