On Thu, Dec 10, 2020 at 10:13:30AM +0800, Adrian Huang wrote: > From: Adrian Huang <[email protected]> > > From: Adrian Huang <[email protected]> > > The values of local variables are assigned after local variables > are declared, so no need to assign the initial value during the > variable declaration. > > And, no need to assign NULL for the local variable 'ivrs_base' > after invoking acpi_put_table(). > > Signed-off-by: Adrian Huang <[email protected]> > --- > drivers/iommu/amd/init.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-)
Acked-by: Will Deacon <[email protected]> Will _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
