[ovs-dev] [PATCH] ovs-numa.h: Add a missing OVS_UNUSED
YAMAMOTO Takashi
yamamoto at valinux.co.jp
Wed Jan 14 03:18:26 UTC 2015
Suppress the following warning:
> cc1: warnings being treated as errors
> In file included from ../lib/dpif.h:394:0,
> from ../lib/netdev.c:28:
> ../lib/ovs-numa.h: In function 'ovs_numa_dump_cores_on_numa':
> ../lib/ovs-numa.h:150:33: error: unused parameter 'numa_id'
The problem was introduced by
commit 9da2564e2bfa4ffc5a05552630ce2aca00a521c9.
("ovs-numa: Refine the module.")
Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
---
lib/ovs-numa.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ovs-numa.h b/lib/ovs-numa.h
index 2086ca0..35b351b 100644
--- a/lib/ovs-numa.h
+++ b/lib/ovs-numa.h
@@ -147,7 +147,7 @@ ovs_numa_unpin_core(int core_id OVS_UNUSED)
}
static inline struct ovs_numa_dump *
-ovs_numa_dump_cores_on_numa(int numa_id)
+ovs_numa_dump_cores_on_numa(int numa_id OVS_UNUSED)
{
return NULL;
}
--
1.9.4
More information about the dev
mailing list