Skip to content

Commit 5651863

Browse files
camelia-groza-NXPdavem330
authored andcommitted
dpaa_eth: remove duplicate initialization
The fd_format has already been initialized at this point. Signed-off-by: Camelia Groza <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8807525 commit 5651863

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2278,7 +2278,6 @@ static enum qman_cb_dqrr_result rx_default_dqrr(struct qman_portal *portal,
22782278
vaddr = phys_to_virt(addr);
22792279
prefetch(vaddr + qm_fd_get_offset(fd));
22802280

2281-
fd_format = qm_fd_get_format(fd);
22822281
/* The only FD types that we may receive are contig and S/G */
22832282
WARN_ON((fd_format != qm_fd_contig) && (fd_format != qm_fd_sg));
22842283

0 commit comments

Comments
 (0)