]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-future: drop redundant branch in test reader fiber 42738/head
authorLuca Boccassi <luca.boccassi@gmail.com>
Wed, 24 Jun 2026 18:09:36 +0000 (19:09 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 24 Jun 2026 18:09:36 +0000 (19:09 +0100)
commit45033e39ec018cdbc2c3fc0399850a53c0a73fe0
tree175ff2c194496cd3491a9b31bf09b25de865c5bb
parent6ebf344a1b0ae3e9788c088735a50c66c06a4c8d
sd-future: drop redundant branch in test reader fiber

Both the error and the success path returned (int) n, so the check was
a no-op. Return the value directly.

CID#1660095

Follow-up for 7bc793e21f2d4bf67bd311545270bc515fe63ad9
src/libsystemd/sd-future/test-fiber-ops.c