1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 23:21:22 +03:00

logind: voidify a function we never check the return value of

This commit is contained in:
Lennart Poettering 2018-03-02 11:55:16 +01:00
parent 47920c4a26
commit a3ddf73c0e

View File

@ -106,7 +106,7 @@ static int session_device_notify(SessionDevice *sd, enum SessionDeviceNotificati
return sd_bus_send(sd->session->manager->bus, m, NULL);
}
static int sd_eviocrevoke(int fd) {
static void sd_eviocrevoke(int fd) {
static bool warned = false;
assert(fd >= 0);
@ -118,8 +118,6 @@ static int sd_eviocrevoke(int fd) {
warned = true;
}
}
return 0;
}
static int sd_drmsetmaster(int fd) {