summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2018-08-25 22:22:40 +0300
committerFerruh Yigit <ferruh.yigit@intel.com>2018-09-12 19:10:09 +0200
commitb24ec9bc1c43f7cada0b16709043f84f52f2b895 (patch)
tree876eb063f62f810dff8e6bf9c2ee7858c41fc1e1 /examples
parentb733c60f68f12e064359b27e630305c541a3fbdf (diff)
downloaddpdk-b24ec9bc1c43f7cada0b16709043f84f52f2b895.zip
dpdk-b24ec9bc1c43f7cada0b16709043f84f52f2b895.tar.gz
dpdk-b24ec9bc1c43f7cada0b16709043f84f52f2b895.tar.xz
examples/vhost: remove unnecessary constant
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") Cc: stable@dpdk.org Signed-off-by: Rami Rosen <ramirose@gmail.com> Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/vhost/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 2175c11..5d28d03 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