]> git.dujemihanovic.xyz Git - u-boot.git/commit
bloblist: Update to use conditional value
authorSimon Glass <sjg@chromium.org>
Sat, 22 Jan 2022 12:07:27 +0000 (05:07 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 9 Feb 2022 04:07:59 +0000 (23:07 -0500)
commitce3e75dc5977e6500669fd9418405ddd4207a164
tree57525a0e0cee2fcdbc96c840fda3bb887fd3a979
parent097ff01fb98a6f4ad03eed8cf639a5cc90fb6619
bloblist: Update to use conditional value

Use the new IF_ENABLED_INT() feature to avoid needing our own inline
function to handle this case. Tidy up the logic to ensure that the value
is only used when present. Update the 'expected' comment also.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bloblist.c
include/bloblist.h