Skip to contentSkip to conversation

net/txgbe: unreachable code

DPDK/ethdev Bug 2142 [email protected] 1 participant 1 message Nov 17

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=2142

            Bug ID: 2142
           Summary: net/txgbe: unreachable code
           Product: DPDK
           Version: 26.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Building with clang and -Wunreachable-code finds dead code here:
[1573/3982] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_base_txgbe_hw.c.o ../drivers/net/txgbe/base/txgbe_hw.c:1603:3: warning: code will never be executed [-Wunreachable-code]

 1603 |                 goto done;
      |                 ^~~~~~~~~

1 warning generated.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.