mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-07 20:00:13 +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:
@@ -450,8 +450,7 @@ static void bsp_boot_post(void)
|
||||
calibrate_tsc();
|
||||
|
||||
/* Enable logging */
|
||||
init_logmsg(CONFIG_LOG_BUF_SIZE,
|
||||
CONFIG_LOG_DESTINATION);
|
||||
init_logmsg(CONFIG_LOG_DESTINATION);
|
||||
|
||||
pr_acrnlog("HV version %s-%s-%s %s (daily tag:%s) build by %s, start time %lluus",
|
||||
HV_FULL_VERSION,
|
||||
|
@@ -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