mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 17:46:15 +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:
@@ -257,8 +257,7 @@ hv_emulate_mmio(struct vcpu *vcpu, struct io_request *io_req)
|
||||
return -EIO;
|
||||
} else {
|
||||
/* Handle this MMIO operation */
|
||||
status = mmio_handler->read_write(vcpu, io_req,
|
||||
mmio_handler->handler_private_data);
|
||||
status = mmio_handler->read_write(vcpu, io_req);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user