From e7f161a7d60b69b9a6ea9eb59148b11dc9707a19 Mon Sep 17 00:00:00 2001 From: Niklas Cassel Date: Tue, 16 Mar 2021 16:47:57 +0000 Subject: [PATCH] bdev/hello_world: remove bdev_module.h include bdev_module.h should only be included when implementing a bdev module. hello_bdev.c is not a bdev module implementation and therefore should not include the bdev_module.h header. Signed-off-by: Niklas Cassel Change-Id: I6a8b9989b21311ae8526b13d7a58603b68a433cb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6904 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Changpeng Liu --- examples/bdev/hello_world/hello_bdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/bdev/hello_world/hello_bdev.c b/examples/bdev/hello_world/hello_bdev.c index 68592f44a7..0738fe4b36 100644 --- a/examples/bdev/hello_world/hello_bdev.c +++ b/examples/bdev/hello_world/hello_bdev.c @@ -38,7 +38,6 @@ #include "spdk/event.h" #include "spdk/log.h" #include "spdk/string.h" -#include "spdk/bdev_module.h" static char *g_bdev_name = "Malloc0";