examples/vhost: remove unnecessary MAX_PRINT_BUFF defintion
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").
Signed-off-by Rami Rosen <[email protected]>
--- examples/vhost/main.c | 3 --- 1 file changed, 3 deletions(-)
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
Signature · 1 line
2.17.1
Quoted 2 lines
[PATCH] examples/vhost: remove unnecessary
MAX_PRINT_BUFFdefintion
s/defintion/definition/
Apart from that,
Reviewed-by Tiwei Bie <[email protected]>
Thanks
Quoted 27 lines · Rami Rosen
This patch removes an unnecessary definition of
MAX_PRINT_BUFFinexamples/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 <[email protected]>--- examples/vhost/main.c | 3 --- 1 file changed, 3 deletions(-)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 64Signature · 1 line
2.17.1
Maxime Coquelin
AppliedQuoted 16 lines · Rami Rosen
This patch removes an unnecessary definition of
MAX_PRINT_BUFFinexamples/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 <[email protected]>--- examples/vhost/main.c | 3 --- 1 file changed, 3 deletions(-)examples/vhost/main.c +0
-0
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