hv: fixes related to unused API and uninitialized variable

This patch does:
- remove the unused API declaration
- fix use of uninitialized variable in instr_emul.c

Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Shiqing Gao
2018-12-04 09:18:43 +08:00
committed by wenlingz
parent f0d3f1c984
commit 7cc8566d37
5 changed files with 1 additions and 13 deletions

View File

@@ -8,6 +8,5 @@
void init_logmsg(__unused uint32_t flags) {}
void do_logmsg(__unused uint32_t severity, __unused const char *fmt, ...) {}
void print_logmsg_buffer(__unused uint16_t pcpu_id) {}
void printf(__unused const char *fmt, ...) {}
void vprintf(__unused const char *fmt, __unused va_list args) {}