Skip to content
Commit d87bdb82 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent c61df340
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment