summaryrefslogtreecommitdiff
path: root/script/build/fw/serprog
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-12 15:22:13 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-12 15:22:13 +0100
commit3162d60d5270412506c076749d65221fa6276f1f (patch)
treeed00dfd2490f1eda746b7d3ce65bf2c5e8ea28de /script/build/fw/serprog
parentf989360e88ab45bb20dd0415cc145f7d3ef42ee5 (diff)
nvmutil: don't reset errno before write
under the current logic, errno would be ECANCELED if neither checksum is valid, or I/O related if pwrite fails; alternatively, the for loop exits and the file has been written, where it is quite correctly reset already. ergo, the errno reset at the start of writeGbeFile is superfluous. remove this bloat. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/fw/serprog')
0 files changed, 0 insertions, 0 deletions