On Wed, Aug 09, 2023 at 11:33:04AM +0100, Julien Grall wrote: > From: Julien Grall <jgr...@amazon.com> > > The function do_pci_remove() has two local variables 'domid' and > 'domainid' containing the same value. > > Looking at the history, until 2cf3b50dcd8b ("libxl_pci: Use > libxl__ao_device with pci_remove") the two variables may have > different value when using a stubdomain. > > As this is not the case now, remove 'domainid'. This will reduce > the confusion between the two variables. > > Note that there are other places in libxl_pci.c which are using > the two confusing names within the same function. They are left > unchanged for now. > > No functional changes intented. > > Signed-off-by: Julien Grall <jgr...@amazon.com>
Acked-by: Anthony PERARD <anthony.per...@citrix.com> Thanks, -- Anthony PERARD