> From: Jan Beulich <jbeul...@suse.com> > Sent: Monday, April 11, 2022 5:36 PM > > It's not only misplaced, but entirely unused. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Reviewed-by: Kevin Tian <kevin.t...@intel.com> > > --- a/xen/drivers/passthrough/vtd/iommu.h > +++ b/xen/drivers/passthrough/vtd/iommu.h > @@ -204,7 +204,6 @@ struct context_entry { > __uint128_t full; > }; > }; > -#define ROOT_ENTRY_NR (PAGE_SIZE_4K/sizeof(struct root_entry)) > #define context_present(c) ((c).lo & 1) > #define context_fault_disable(c) (((c).lo >> 1) & 1) > #define context_translation_type(c) (((c).lo >> 2) & 3)