From 6afc14e92ac81b29c25f097468f7751d5df1b5bc Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 6 Feb 2015 22:43:10 +0100 Subject: [PATCH] migration: Fix warning caused by missing declaration of vmstate_dummy Warning from the Sparse static analysis tool: stubs/vmstate.c:4:26: warning: symbol 'vmstate_dummy' was not declared. Should it be static? Cc: Juan Quintela Cc: Amit Shah Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- include/migration/vmstate.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 0b26bc6..c20f2d1 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -139,9 +139,7 @@ struct VMStateDescription { const VMStateSubsection *subsections; }; -#ifdef CONFIG_USER_ONLY extern const VMStateDescription vmstate_dummy; -#endif extern const VMStateInfo vmstate_info_bool; -- 2.7.4