xen/pv_console: Fix MISRA C 2012 Rule 2.1 violation
authorXenia Ragiadakou <burzalodowa@gmail.com>
Fri, 8 Jul 2022 07:41:36 +0000 (09:41 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 8 Jul 2022 07:41:36 +0000 (09:41 +0200)
commit2b5c2c64a9b55a1bb91c41fc7cbf0461b6c55ed4
tree374f28b2279df4263bba2fdfce04a1f45925d26a
parent46cbd76faf737e9fe2d57aaf335a0203f66ba21c
xen/pv_console: Fix MISRA C 2012 Rule 2.1 violation

Remove the definition of the function pv_console_evtchn(),
when CONFIG_XEN_GUEST is not set, because the function is not used.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Tested-by: Jiamei Xie <jiamei.xie@arm.com> # arm64
xen/include/xen/pv_console.h