Thread (3 messages) 3 messages, 3 authors, 2018-09-10

Re: [PATCH] examples/vhost: remove unnecessary MAX_PRINT_BUFF defintion

From: Tiwei Bie <hidden>
Date: 2018-08-30 04:40:58

[PATCH] examples/vhost: remove unnecessary MAX_PRINT_BUFF defintion
s/defintion/definition/

Apart from that,

Reviewed-by: Tiwei Bie <redacted>

Thanks

On Sat, Aug 25, 2018 at 10:22:40PM +0300, Rami Rosen wrote:
quoted hunk ↗ jump to hunk
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").

Signed-off-by: Rami Rosen <redacted>
---
 examples/vhost/main.c | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 2175c1186..5d28d03f6 100644
--- a/examples/vhost/main.c
+++ b/examples/vhost/main.c
@@ -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
 
-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help