diff options
author | Madalin Bucur <madalin.bucur@freescale.com> | 2014-09-16 13:44:07 (GMT) |
---|---|---|
committer | Madalin Bucur <madalin.bucur@freescale.com> | 2014-10-08 13:19:55 (GMT) |
commit | ce05eaaac3863bb614128630f2bd937d00f79c38 (patch) | |
tree | b839623dc9155e86d27fd2d3890893b4ecdab4d3 /drivers | |
parent | 81c870b0ad99a1ed9f9aba7dfee127ef74b0b460 (diff) | |
download | linux-fsl-qoriq-ce05eaaac3863bb614128630f2bd937d00f79c38.tar.xz |
dpaa_eth: add comment about unused error code
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: Ica8066db566093bc89e50c23694b519820bf7ae8
Reviewed-on: http://git.am.freescale.net:8181/18842
Reviewed-by: Marian Cristian Rotariu <marian.rotariu@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_eth_shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_shared.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_shared.c index 944d7c5..797dac9 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_shared.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_shared.c @@ -580,6 +580,7 @@ buf_acquire_failed: /* We're done with the skb */ dev_kfree_skb(skb); + /* err remains unused, NETDEV_TX_OK must be returned here */ return NETDEV_TX_OK; } |