logind: voidify a function we never check the return value of
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user