mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
vpci_remove_register() only supports removing a register in a time, but the follow-on changes need to remove all registers within a range. So, refactor it to support removing all registers in a given region. And it is no issue to remove a non exist register, so remove the __must_check prefix. Note: two test cases don't math the new logic of vpci_remove_registers(), then modify them. Signed-off-by: Jiqian Chen <Jiqian.Chen@amd.com> Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>