All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iommu/amd: two tiny cleanups
@ 2025-03-17  6:42 Dan Carpenter
  2025-03-17  6:43 ` [PATCH 1/2] iommu/amd: Delete unnecessary NULL check Dan Carpenter
  2025-03-17  6:43 ` [PATCH 2/2] iommu/amd: Return a literal in init_gcr3_table() Dan Carpenter
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Carpenter @ 2025-03-17  6:42 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: iommu, linux-kernel, Robin Murphy, Suravee Suthikulpanit,
	Will Deacon

Delete an unnecessary NULL check and return a literal zero instead
of "ret" (where ret is zero).

Dan Carpenter (2):
  iommu/amd: Delete unnecessary NULL check
  iommu/amd: Return a literal in init_gcr3_table()

 drivers/iommu/amd/iommu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.47.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-20  8:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-17  6:42 [PATCH 0/2] iommu/amd: two tiny cleanups Dan Carpenter
2025-03-17  6:43 ` [PATCH 1/2] iommu/amd: Delete unnecessary NULL check Dan Carpenter
2025-03-17  6:43 ` [PATCH 2/2] iommu/amd: Return a literal in init_gcr3_table() Dan Carpenter
2025-03-20  8:03   ` Joerg Roedel
2025-03-20  8:53     ` Dan Carpenter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.