From: Camelia Groza Date: Wed, 14 Mar 2018 13:37:30 +0000 (-0500) Subject: dpaa_eth: remove duplicate initialization X-Git-Tag: v4.14.32~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dde9b6a837975a39051d99127f952314dc39e016;p=platform%2Fkernel%2Flinux-rpi.git dpaa_eth: remove duplicate initialization [ Upstream commit 565186362b73226a288830abe595f05f0cec0bbc ] The fd_format has already been initialized at this point. Signed-off-by: Camelia Groza Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c index 786052c..6b92d47 100644 --- a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +++ b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c @@ -2292,7 +2292,6 @@ static enum qman_cb_dqrr_result rx_default_dqrr(struct qman_portal *portal, vaddr = phys_to_virt(addr); prefetch(vaddr + qm_fd_get_offset(fd)); - fd_format = qm_fd_get_format(fd); /* The only FD types that we may receive are contig and S/G */ WARN_ON((fd_format != qm_fd_contig) && (fd_format != qm_fd_sg));