]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind,machined: various smaller cleanups
authorLennart Poettering <lennart@poettering.net>
Thu, 6 Aug 2015 13:48:17 +0000 (16:48 +0300)
committerLennart Poettering <lennart@poettering.net>
Thu, 6 Aug 2015 13:54:00 +0000 (16:54 +0300)
commit491ac9f2c4aeda8c40edde35112404b737e38b60
tree55a5dded7bd23a9e079a92de97c3c7628494b3a3
parent65d73cf042ba7de11d254f5c4714f467db64b7c3
logind,machined: various smaller cleanups

Use mfree() where we can.

Drop unnecessary {}.

Drop unnecessary variable declarations.

Cast syscall invocations where explicitly don't care for the return
value to (void).

Reword a comment.
src/login/logind-dbus.c
src/login/logind-session.c
src/login/logind.c
src/machine/machine.c
src/machine/machined-dbus.c