[RFC PATCH v2 12/33] bus/pci: remove shadowed variables
fengchengwen
fengchengwen at huawei.com
Mon Nov 10 02:15:53 CET 2025
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
On 11/7/2025 11:50 PM, Bruce Richardson wrote:
> Remove two instances where we had duplicate shadowed local variables
> called "ret". In each case, we could just remove the inner instance,
> since the outer value was not needing to be preserved.
>
> Fixes: 03ba15ca65c1 ("vfio: allow mapping MSI-X BARs if kernel allows it")
> Fixes: c0ce0577e84d ("pci: consolidate address comparisons")
> Cc: stable at dpdk.org
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list