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:
parent
fc7ac59412
commit
b4353094e5
@ -345,9 +345,7 @@ static int sysv_translate_facility(const char *name, const char *filename, char
|
||||
return -ENOMEM;
|
||||
|
||||
finish:
|
||||
|
||||
if (_r)
|
||||
*_r = r;
|
||||
*_r = r;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user