summaryrefslogtreecommitdiff
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorMateusz Nosek <mateusznosek0@gmail.com>2020-04-07 06:07:54 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-04-07 20:43:41 +0300
commit343c3d7f0927e000427fae5e361aa560f83dd5b5 (patch)
tree926103b3d5c1d0e30238d46aa0b7afb14ba8e599 /mm/filemap.c
parent27d80fa24326b7b33c8ee7527843776e5df808a7 (diff)
downloadlinux-343c3d7f0927e000427fae5e361aa560f83dd5b5.tar.xz
mm/shmem.c: clean code by removing unnecessary assignment
Previously 0 was assigned to variable 'error' but the variable was never read before reassignemnt later. So the assignment can be removed. Signed-off-by: Mateusz Nosek <mateusznosek0@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Acked-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Cc: Hugh Dickins <hughd@google.com> Link: http://lkml.kernel.org/r/20200301152832.24595-1-mateusznosek0@gmail.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions