mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 00:03:45 +02:00
nvmutil: fix redundant check
we already check not-zero in the next if Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -2217,7 +2217,7 @@ err(int nvm_errval, const char *msg, ...)
|
|||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
if (errno <= 0)
|
if (errno < 0)
|
||||||
errno = ECANCELED;
|
errno = ECANCELED;
|
||||||
if (!errno)
|
if (!errno)
|
||||||
errno = nvm_errval;
|
errno = nvm_errval;
|
||||||
|
|||||||
Reference in New Issue
Block a user