1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00

service: drop redundant check in sysv_translate_facility

We check for _r with an assert in the function header anyway, no need to
check it again.
This commit is contained in:
Lennart Poettering 2011-03-04 16:54:15 +03:00
parent fc7ac59412
commit b4353094e5

View File

@ -345,8 +345,6 @@ static int sysv_translate_facility(const char *name, const char *filename, char
return -ENOMEM;
finish:
if (_r)
*_r = r;
return 1;