diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-03-02 11:55:16 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:59:11 +0200 |
commit | 2c9af27255f0a804a95084a78e2de38e4724b12e (patch) | |
tree | 4c4b7cb603080b29614d648411470a07bc9cd586 /src | |
parent | 5444dd98c769e3597681ae10c7f65a999f84eff5 (diff) |
logind: voidify a function we never check the return value of
Diffstat (limited to 'src')
-rw-r--r-- | src/login/logind-session-device.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/login/logind-session-device.c b/src/login/logind-session-device.c index bc9164dc8..4a378e14c 100644 --- a/src/login/logind-session-device.c +++ b/src/login/logind-session-device.c @@ -110,7 +110,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); @@ -122,8 +122,6 @@ static int sd_eviocrevoke(int fd) { warned = true; } } - - return 0; } static int sd_drmsetmaster(int fd) { |