Message ID | 20200512182253.223249-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [next] fs: remove redundant assignment to variable ret | expand |
diff --git a/fs/super.c b/fs/super.c index b0a511bef4a0..6674c2af26ef 100644 --- a/fs/super.c +++ b/fs/super.c @@ -2052,7 +2052,6 @@ SYSCALL_DEFINE5(watch_sb, if (drop_s_count) put_super(s); } else { - ret = -EBADSLT; down_write(&s->s_umount); ret = remove_watch_from_object(s->s_watchers, wqueue, s->s_unique_id, false);