mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-11 05:39:45 +00:00
hv: include: fix 'Unused procedure parameter'
MISRA-C requires that there should be no unused parameters in functions. This patch removes the unused parameters that is not being used unconditionally. 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:
@@ -529,8 +529,7 @@ vioapic_pincount(struct vm *vm)
|
||||
}
|
||||
}
|
||||
|
||||
int vioapic_mmio_access_handler(struct vcpu *vcpu, struct io_request *io_req,
|
||||
__unused void *handler_private_data)
|
||||
int vioapic_mmio_access_handler(struct vcpu *vcpu, struct io_request *io_req)
|
||||
{
|
||||
struct vm *vm = vcpu->vm;
|
||||
struct acrn_vioapic *vioapic;
|
||||
|
Reference in New Issue
Block a user