Re: [PATCH v4] iommu: remove redundant parameter check in tegra_smmu_debugfs_init()
From: Baolu Lu
Date: Thu Jul 13 2023 - 22:57:57 EST
On 2023/7/13 15:28, Minjie Du wrote:
debugfs_create_file() will return early if smmu->debugfs is an error
pointer, so an extra error check is not needed.
Signed-off-by: Minjie Du<duminjie@xxxxxxxx>
Acked-by: Thierry Reding<treding@xxxxxxxxxx>
Greg keeps reminding that no error branch for debugfs, so
Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
Best regards,
baolu