mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/console: remove stub definition in consoled.h
The stub definition of 'consoled_guest_tx' can be removed, since its
its single caller uses the implementation built with PV_SHIM enabled.
Fixes: 5ef49f185c ("x86/pv-shim: shadow PV console's page for L2 DomU")
Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
8b9e6939a0
commit
e7ad219bb2
1 file changed
-7
@@ -3,18 +3,11 @@
|
||||
|
||||
#include <public/io/console.h>
|
||||
|
||||
#ifdef CONFIG_PV_SHIM
|
||||
|
||||
void consoled_set_ring_addr(struct xencons_interface *ring);
|
||||
struct xencons_interface *consoled_get_ring_addr(void);
|
||||
size_t consoled_guest_rx(void);
|
||||
size_t consoled_guest_tx(char c);
|
||||
|
||||
#else
|
||||
|
||||
size_t consoled_guest_tx(char c) { return 0; }
|
||||
|
||||
#endif /* !CONFIG_PV_SHIM */
|
||||
#endif /* __XEN_CONSOLED_H__ */
|
||||
/*
|
||||
* Local variables:
|
||||
|
||||