Message ID | 20191001130405.7076-7-ktraynor@redhat.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | David Marchand |
Headers | show |
Series | Coverity fixes and other cleanups | expand |
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/Intel-compilation | success | Compilation OK |
On 01 Oct 14:04, Kevin Traynor wrote: > Some variables are commented out. Remove them. > > Fixes: d548ef513cd7 ("event/opdl: add unit tests") > Cc: liang.j.ma@intel.com > Cc: stable@dpdk.org > > Signed-off-by: Kevin Traynor <ktraynor@redhat.com> > --- > drivers/event/opdl/opdl_test.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/event/opdl/opdl_test.c b/drivers/event/opdl/opdl_test.c > index 5868ec1be..e7a32fbd3 100644 > --- a/drivers/event/opdl/opdl_test.c > +++ b/drivers/event/opdl/opdl_test.c > @@ -696,7 +696,4 @@ static int > single_link(struct test *t) > { > - /* const uint8_t rx_port = 0; */ > - /* const uint8_t w1_port = 1; */ > - /* const uint8_t w3_port = 3; */ > const uint8_t tx_port = 2; > int err; > -- > 2.21.0 > Acked-by: Liang Ma <liang.j.ma@intel.com>
diff --git a/drivers/event/opdl/opdl_test.c b/drivers/event/opdl/opdl_test.c index 5868ec1be..e7a32fbd3 100644 --- a/drivers/event/opdl/opdl_test.c +++ b/drivers/event/opdl/opdl_test.c @@ -696,7 +696,4 @@ static int single_link(struct test *t) { - /* const uint8_t rx_port = 0; */ - /* const uint8_t w1_port = 1; */ - /* const uint8_t w3_port = 3; */ const uint8_t tx_port = 2; int err;
Some variables are commented out. Remove them. Fixes: d548ef513cd7 ("event/opdl: add unit tests") Cc: liang.j.ma@intel.com Cc: stable@dpdk.org Signed-off-by: Kevin Traynor <ktraynor@redhat.com> --- drivers/event/opdl/opdl_test.c | 3 --- 1 file changed, 3 deletions(-)