ARM: OMAP2+: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 20 Sep 2022 06:51:13 +0000 (06:51 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Mar 2023 05:44:28 +0000 (08:44 +0300)
commit89e990559c378e06d2b2ef4f5dd6e963795cb7d8
treed21e090d1834de7fa20206940336fd6c23be3bc9
parent31006a885118ef7eb18f865f5ff615fb31868bfe
ARM: OMAP2+: Remove the unneeded result variable

Return the value amx3_common_init() directly instead of storing it in
another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Message-Id: <20220920065113.215685-1-ye.xingchen@zte.com.cn>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm33xx-core.c