app/testpmd: remove unused struct member
authorKathleen Capella <kathleen.capella@arm.com>
Tue, 9 Feb 2021 15:40:26 +0000 (15:40 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 22 Feb 2021 18:17:58 +0000 (19:17 +0100)
The tx_queue member of the fwd_lcore struct is unused as it is already
part of the fwd_stream structure. Deleting helps improve code readability.

Signed-off-by: Kathleen Capella <kathleen.capella@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
app/test-pmd/testpmd.h

index 4aca522..60ddeb8 100644 (file)
@@ -247,7 +247,6 @@ struct fwd_lcore {
        streamid_t stream_idx;   /**< index of 1st stream in "fwd_streams" */
        streamid_t stream_nb;    /**< number of streams in "fwd_streams" */
        lcoreid_t  cpuid_idx;    /**< index of logical core in CPU id table */
-       queueid_t  tx_queue;     /**< TX queue to send forwarded packets */
        volatile char stopped;   /**< stop forwarding when set */
 };