arm64: stacktrace: remove NULL task check from unwind_frame()
authorMadhavan T. Venkataraman <madvenka@linux.microsoft.com>
Wed, 13 Apr 2022 14:59:05 +0000 (15:59 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 22 Apr 2022 14:33:13 +0000 (15:33 +0100)
commit4f6277e8ac397e5932d9af5c6b3dadefe81d53dc
tree990ce1c29120b3572e074ffbd496e4682874b3b0
parentb2d229d4ddb17db541098b83524d901257e93845
arm64: stacktrace: remove NULL task check from unwind_frame()

Currently, there is a check for a NULL task in unwind_frame(). It is not
needed since all current callers pass a non-NULL task.

There should be no functional change as a result of this patch.

Signed-off-by: Madhavan T. Venkataraman <madvenka@linux.microsoft.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Kalesh Singh <kaleshsingh@google.com> for the series.
Link: https://lore.kernel.org/r/20220413145910.3060139-2-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/stacktrace.c