diff options
| author | Simon Glass <[email protected]> | 2022-01-22 05:07:27 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-02-08 23:07:59 -0500 |
| commit | ce3e75dc5977e6500669fd9418405ddd4207a164 (patch) | |
| tree | 57525a0e0cee2fcdbc96c840fda3bb887fd3a979 /include/bloblist.h | |
| parent | 097ff01fb98a6f4ad03eed8cf639a5cc90fb6619 (diff) | |
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 <[email protected]>
Diffstat (limited to 'include/bloblist.h')
| -rw-r--r-- | include/bloblist.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/bloblist.h b/include/bloblist.h index 173129b0273..d0e128acf10 100644 --- a/include/bloblist.h +++ b/include/bloblist.h @@ -147,16 +147,6 @@ struct bloblist_rec { u32 spare; }; -/* access CONFIG_BLOBLIST_ADDR, dealing with it possibly not being defined */ -static inline ulong bloblist_addr(void) -{ -#ifdef CONFIG_BLOBLIST_FIXED - return CONFIG_BLOBLIST_ADDR; -#else - return 0; -#endif -} - /** * bloblist_check_magic() - return a bloblist if the magic matches * |
