diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-13 21:28:29 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-13 21:29:36 +0000 |
| commit | 08fee9ba559ac2aaa235aecfc582c3e431ed276f (patch) | |
| tree | 69fe063c0632726cea4ac61f248b6586b6f0759d /util/sbase/sha512-224sum.c | |
| parent | c8e6a6870ff389dcc5c9c3e51e79d18e45c59d93 (diff) | |
util/nvmutil: optimise i/o handling
don't call io_args multiple times
get rid of do_rw
get rid of IO_PWRITE and IO_PREAD
we use prw() for cat now. this is OK
because when calling prw() with offset
zero, it's literallyy the same as just
doing normal write()
so the code merely no longer distinguishes
positional or non-positional, and just uses
prw() universally
no behaviour change
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/sbase/sha512-224sum.c')
0 files changed, 0 insertions, 0 deletions
