]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
automount: remove unused variable
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 21 Apr 2015 20:39:23 +0000 (22:39 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 21 Apr 2015 20:40:10 +0000 (22:40 +0200)
src/core/automount.c

index 866fedd2cffc4a108391b3b8d03572793df63e91..b3e96fc2e1848f8cc098ea70b04ebdedf1ed153d 100644 (file)
@@ -476,8 +476,6 @@ static int automount_send_ready(Automount *a, Set *tokens, int status) {
 }
 
 int automount_update_mount(Automount *a, MountState old_state, MountState state) {
-        _cleanup_close_ int ioctl_fd = -1;
-
         assert(a);
 
         switch (state) {