Skip to content
Commit 831c4f3d authored by Markus Elfring's avatar Markus Elfring Committed by Max Filippov
Browse files

xtensa: One function call less in bootmem_init()



Avoid an extra function call by using a ternary operator instead of
a conditional statement for a setting selection.

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Message-Id: <495c9f2e-7880-ee9a-5c61-eee598bb24c2@web.de>
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 7d5bdc0c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment