]> git.baikalelectronics.ru Git - kernel.git/commit
fs/binfmt_flat.c: remove set but not used variable 'inode'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 16 Jul 2019 23:27:51 +0000 (16:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2019 02:23:22 +0000 (19:23 -0700)
commit754f599dbe22cd9eb535d000aa6717bad4c5e9b6
treef65e2e58a05ea997ec56259e32aad523a9adb006
parent9859aa2392766122d088c24d1c7aab11f3f01701
fs/binfmt_flat.c: remove set but not used variable 'inode'

Fixes gcc '-Wunused-but-set-variable' warning:

  fs/binfmt_flat.c: In function load_flat_file:
  fs/binfmt_flat.c:419:16: warning: variable inode set but not used [-Wunused-but-set-variable]

It's never used and can be removed.

Link: http://lkml.kernel.org/r/20190525125341.9844-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_flat.c