commit | 3098e6cdc94aba026119e17983d5566c9a9229dd | [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 | 88e5a201cd6b3d0aa4917dd2f19d496d04578250 [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>