spl: spl_legacy: Use IS_ENABLED() to remove #ifdef
authorStefan Roese <sr@denx.de>
Tue, 21 Apr 2020 07:28:42 +0000 (09:28 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 27 Apr 2020 18:29:33 +0000 (20:29 +0200)
commit5ae526b61f6a8832ac72c4aeed6e652887ccbbd0
tree90956e404a8ffe81120133bee8ae8bdaaca90735
parentc11081729fee5404c0e3cf36626ba2d6e8a9e191
spl: spl_legacy: Use IS_ENABLED() to remove #ifdef

Use IS_ENABLED() instead of #ifdef CONFIG_ to remove one #ifdef.

No functional change intended.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Weijie Gao <weijie.gao@mediatek.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
common/spl/spl_legacy.c