]> git.itanic.dy.fi Git - linux-stable/commit
bcachefs: Fix -Wself-assign
authorNick Desaulniers <ndesaulniers@google.com>
Tue, 19 Sep 2023 20:38:31 +0000 (13:38 -0700)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:14 +0000 (17:10 -0400)
commit265cc423155d56030e44068680085adb59800326
tree616ab1330c8d67c410c3f543f2e4822b24f21831
parent3b59fbec86e3cda0fae2ad15139ac458e024fab1
bcachefs: Fix -Wself-assign

Fixes the following observed error reported by Nathan on IRC.

  fs/bcachefs/io_misc.c:467:6: error: explicitly assigning value of
  variable of type 'int' to itself [-Werror,-Wself-assign]
    467 |         ret = ret;
        |         ~~~ ^ ~~~

Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/io_misc.c