]> git.baikalelectronics.ru Git - kernel.git/commit
mm/truncate.c: remove unneeded variable
authorchiminghao <chi.minghao@zte.com.cn>
Fri, 14 Jan 2022 22:05:10 +0000 (14:05 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:26 +0000 (16:30 +0200)
commit9f08414289a127274e3587d159cdb6ee91d4829b
tree1b2d61a2a0519a0a575b015ef4bd525ad7ca0a25
parenta8df766ede30e23b1f3c61f3c2e833caa15d72e3
mm/truncate.c: remove unneeded variable

Return value directly instead of taking this in another redundant
variable.

Link: https://lkml.kernel.org/r/20211207083222.401594-1-chi.minghao@zte.com.cn
Signed-off-by: chiminghao <chi.minghao@zte.com.cn>
Reported-by: Zeal Robot <zealci@zte.com.cm>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/truncate.c