mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +00:00
HV: Clean up the unused or legacy code-like comment
Removed comment out unused code in vmexit.c, sprintf.c and vmcall.c Minor fix in vmx.c to prevent Misra-c consider it as a piece of code. Signed-off-by: Yang, Yu-chu <yu-chu.yang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -608,10 +608,6 @@ int do_print(const char *fmt, struct print_param *param,
|
||||
/* pointer argument */
|
||||
else if (ch == 'p') {
|
||||
param->vars.flags |= PRINT_FLAG_ALTERNATE_FORM;
|
||||
/* XXXCRG res=print_pow2(param,
|
||||
* (uint32_t) __builtin_va_arg(args,
|
||||
* void *),4);
|
||||
*/
|
||||
res = print_pow2(param, (uint64_t)
|
||||
__builtin_va_arg(args, void *), 4U);
|
||||
}
|
||||
|
Reference in New Issue
Block a user