summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-04-21 22:39:23 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-04-21 22:40:10 +0200
commit8d04b9af96f6cef317d52111b1eac9e42438d976 (patch)
tree81daec067a1de49a412184f6eeb0faff58400e7d
parent1386e47db5d627ef29664fc8a28b1065dcb7f197 (diff)
automount: remove unused variable
-rw-r--r--src/core/automount.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/automount.c b/src/core/automount.c
index 866fedd2cf..b3e96fc2e1 100644
--- a/src/core/automount.c
+++ b/src/core/automount.c
@@ -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) {