DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/tep_term: remove MAX_PRINT_BUFF
@ 2019-01-13 15:02 Rami Rosen
  2019-01-15  0:35 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2019-01-13 15:02 UTC (permalink / raw)
  To: dev; +Cc: jijiang.liu, xiaoyun.li, Rami Rosen, stable

The  definition of MAX_PRINT_BUFF in examples/tep_termination/main.c
is not necessary as it is not used. This cleanup patch removes it.

Fixes: a50245ede72a ("examples/tep_term: initialize VXLAN sample")
Cc: stable@dpdk.org 

Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 examples/tep_termination/main.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/examples/tep_termination/main.c b/examples/tep_termination/main.c
index 7795d08..d6379e3 100644
--- a/examples/tep_termination/main.c
+++ b/examples/tep_termination/main.c
@@ -71,9 +71,6 @@
 
 #define INVALID_PORT_ID 0xFFFF
 
-/* Size of buffers used for snprintfs. */
-#define MAX_PRINT_BUFF 6072
-
 /* Maximum character device basename size. */
 #define MAX_BASENAME_SZ 20
 
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] examples/tep_term: remove MAX_PRINT_BUFF
  2019-01-13 15:02 [dpdk-dev] [PATCH] examples/tep_term: remove MAX_PRINT_BUFF Rami Rosen
@ 2019-01-15  0:35 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2019-01-15  0:35 UTC (permalink / raw)
  To: Rami Rosen; +Cc: dev, jijiang.liu, xiaoyun.li, stable

13/01/2019 16:02, Rami Rosen:
> The  definition of MAX_PRINT_BUFF in examples/tep_termination/main.c
> is not necessary as it is not used. This cleanup patch removes it.
> 
> Fixes: a50245ede72a ("examples/tep_term: initialize VXLAN sample")
> Cc: stable@dpdk.org 
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-15  0:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-13 15:02 [dpdk-dev] [PATCH] examples/tep_term: remove MAX_PRINT_BUFF Rami Rosen
2019-01-15  0:35 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).