commit | d87bdb82eae66512c222fd93280acaf4dd1cd4be | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Mar 20 08:29:57 2023 +1300 |
committer | Tom Rini <trini@konsulko.com> | Thu Mar 30 15:09:59 2023 -0400 |
tree | b4fd112eed3b4fbb38454e463244fe0c88326aaa | |
parent | c61df34009c3ad46b5798e1d13fd640419bf17e6 [diff] |
disk: Use a helper function to reduce duplication Reduce the duplicated code slightly by using a helper function to handle the common code. This reduces the code size very slightly. Signed-off-by: Simon Glass <sjg@chromium.org>