diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-07-17 01:27:51 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-17 04:23:22 +0200 |
commit | 1b113e04e20298b08c82c709a4501c0d6e1e4374 (patch) | |
tree | f65e2e58a05ea997ec56259e32aad523a9adb006 /fs/binfmt_elf.c | |
parent | checkpatch.pl: warn on duplicate sysctl local variable (diff) | |
download | linux-1b113e04e20298b08c82c709a4501c0d6e1e4374.tar.xz linux-1b113e04e20298b08c82c709a4501c0d6e1e4374.zip |
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>
Diffstat (limited to 'fs/binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions