Skip to contentSkip to conversation

examples/vhost: remove unnecessary MAX_PRINT_BUFF defintion

PATCH Applied Rami Rosen 3 participants 3 messages Aug 25, 2018 – Sep 10, 2018

lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 examples/vhost: remove unnecessary MAX_PRINT_BUFF defintion

This patch removes an unnecessary definition of MAX_PRINT_BUFF in examples/vhost/main.c, since it is no longer being used.

Fixes 68363d85857d ("examples/vhost: remove the non-working zero copy code").
---
 examples/vhost/main.c | 3 ---
 1 file changed, 3 deletions(-)
examples/vhost/main.c +0 -3
index 2175c1186..5d28d03f6 100644
@@ -58,9 +58,6 @@
 /* Max number of devices. Limited by vmdq. */
 #define MAX_DEVICES 64
 
-/* Size of buffers used for snprintfs. */
-#define MAX_PRINT_BUFF 6072
-
 /* Maximum long option length for option parsing. */
 #define MAX_LONG_OPT_SZ 64
 
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines

[PATCH] examples/vhost: remove unnecessary MAX_PRINT_BUFF defintion

s/defintion/definition/

Apart from that,

Thanks

Quoted 27 lines · Rami Rosen

This patch removes an unnecessary definition of MAX_PRINT_BUFF in examples/vhost/main.c, since it is no longer being used.

Fixes 68363d85857d ("examples/vhost: remove the non-working zero copy code").
---
 examples/vhost/main.c | 3 ---
 1 file changed, 3 deletions(-)
examples/vhost/main.c +0 -3
index 2175c1186..5d28d03f6 100644
@@ -58,9 +58,6 @@
 /* Max number of devices. Limited by vmdq. */
 #define MAX_DEVICES 64
 
-/* Size of buffers used for snprintfs. */
-#define MAX_PRINT_BUFF 6072
-
 /* Maximum long option length for option parsing. */
 #define MAX_LONG_OPT_SZ 64
 
Signature · 1 line
2.17.1
#2 lore raw
In reply to Rami Rosen
Quoted 16 lines · Rami Rosen

This patch removes an unnecessary definition of MAX_PRINT_BUFF in examples/vhost/main.c, since it is no longer being used.

Fixes 68363d85857d ("examples/vhost: remove the non-working zero copy code").
---
  examples/vhost/main.c | 3 ---
  1 file changed, 3 deletions(-)
examples/vhost/main.c +0 -0
index 2175c1186..5d28d03f6 100644

examples/vhost/main.c line 63

Quoted 9 lines
examples/vhost/main.c +0 -3
@@ -58,9 +58,6 @@
  /* Max number of devices. Limited by vmdq. */
  #define MAX_DEVICES 64
 
-/* Size of buffers used for snprintfs. */
-#define MAX_PRINT_BUFF 6072
-
  /* Maximum long option length for option parsing. */
  #define MAX_LONG_OPT_SZ 64
 

Applied to dpdk-next-virtio/master, with changing the title to pass check-git-log.sh script.

Thanks,
Maxime