On Tue, 27 Oct 2026 09:17:06 +0000, James Clark wrote:
attr is derived from &event->attr, so it can never be NULL even if event were NULL, making the check dead code. The only caller, etm_enable_perf(), always passes a valid event anyway, so remove the check.
Applied, thanks!
[1/1] coresight: etm3x: Remove redundant NULL check on perf event attr https://git.kernel.org/coresight/c/11b6f1e36a23
Best regards,