summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-05-09 08:36:00 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-19 16:11:28 +0300
commitae3a2a2188214adc355a5bdf6deb29120886c96f (patch)
treecb3e4bb37c1675112cbae32a84295187f0cf9fe6 /arch/powerpc/lib/code-patching.c
parentd996d5053eb5c0abc0358e5670014a62ada6967e (diff)
downloadlinux-ae3a2a2188214adc355a5bdf6deb29120886c96f.tar.xz
powerpc/ftrace: Remove redundant create_branch() calls
Since commit d5937db114e4 ("powerpc/code-patching: Fix patch_branch() return on out-of-range failure") patch_branch() fails with -ERANGE when trying to branch out of range. No need to perform the test twice. Remove redundant create_branch() calls. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/aa45fbad0b4b7493080835d8276c0cb4ce146503.1652074503.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions