mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-23 14:07:42 +00:00
hv: fix 'Void procedure used in expression'
MISRA-C states that a void procedure used in expressions is dangerous. This patch removes the improper 'return' when calling the void procedure 'send_dest_ipi'. 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:
parent
9a05fbea78
commit
ed06b8a7ca
@ -438,7 +438,7 @@ void send_single_ipi(uint16_t pcpu_id, uint32_t vector)
|
||||
/* Get the lapic ID of the destination processor. */
|
||||
dest_lapic_id = per_cpu(lapic_id, pcpu_id);
|
||||
|
||||
return send_dest_ipi(dest_lapic_id, vector, INTR_LAPIC_ICR_PHYSICAL);
|
||||
send_dest_ipi(dest_lapic_id, vector, INTR_LAPIC_ICR_PHYSICAL);
|
||||
}
|
||||
|
||||
int send_shorthand_ipi(uint8_t vector,
|
||||
|
Loading…
Reference in New Issue
Block a user