projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8807525
)
dpaa_eth: remove duplicate initialization
author
Camelia Groza
<
[email protected]
>
Wed, 14 Mar 2018 13:37:30 +0000
(08:37 -0500)
committer
David S. Miller
<
[email protected]
>
Wed, 14 Mar 2018 17:16:23 +0000
(13:16 -0400)
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]
>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
index 3af5e0c08233d6e5cdf31860ff5333548a046157..627f7f714b182c2f9de8cdd2d65c08f8adb53efe 100644
(file)
--- a/
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
+++ b/
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
@@
-2278,7
+2278,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));