Skip to contentSkip to conversation

soc/tegra: cbb: Remove redundant error logging

PATCH Deepak R Varma 1 participant 1 message Jan 7, 2023 1 message not in the archive Tegra architecture support

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): Y6R2fNJXxUi4Y00Z@qemulion

#1 lore raw
Quoted 9 lines · Deepak R Varma

A call to platform_get_irq() already prints an error on failure within its own implementation. So printing another error based on its return value in the caller is redundant and should be removed. The clean up also makes if condition block braces unnecessary. Remove that as well.

Issue identified using platform_get_irq.cocci coccinelle semantic patch.

---

Hello,
Requesting a review and feedback on this patch proposal?

Thank you,
./drv