drivers/hwtracing/coresight: remove unneeded variable in tmc_crashdata_release()

The variable 'ret' is initialized to 0, never modified, and returned
directly. Remove it and return 0 explicitly.

Signed-off-by: Elsanti <santiagojoseleal27@gmail.com>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20260228222344.288639-1-santiagojoseleal27@gmail.com
This commit is contained in:
Elsanti 2026-02-28 18:23:44 -04:00 • committed by Suzuki K Poulose
commit 061c39a171