diff options
-rw-r--r-- | fs/autofs4/waitq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/autofs4/waitq.c b/fs/autofs4/waitq.c index 8fc41705c7cd..961a12dc6dc8 100644 --- a/fs/autofs4/waitq.c +++ b/fs/autofs4/waitq.c | |||
@@ -170,7 +170,6 @@ static void autofs4_notify_daemon(struct autofs_sb_info *sbi, | |||
170 | 170 | ||
171 | mutex_unlock(&sbi->wq_mutex); | 171 | mutex_unlock(&sbi->wq_mutex); |
172 | 172 | ||
173 | if (autofs4_write(sbi, pipe, &pkt, pktsz)) | ||
174 | switch (ret = autofs4_write(sbi, pipe, &pkt, pktsz)) { | 173 | switch (ret = autofs4_write(sbi, pipe, &pkt, pktsz)) { |
175 | case 0: | 174 | case 0: |
176 | break; | 175 | break; |