diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-04-29 13:16:49 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-06-17 17:53:19 +0300 |
commit | 1fc57ca5a2cd26e0a526e5eb2b0fc0c054117a5b (patch) | |
tree | 6cde5c5b1440bd630432c64882a42790d028fae4 /samples | |
parent | 5c680150d7f43484fde6b87271229f2206bfff7c (diff) | |
download | linux-1fc57ca5a2cd26e0a526e5eb2b0fc0c054117a5b.tar.xz |
ext4: remove redundant assignment to error
Variable error is set to zero but this value is never read as it's not
used later on, hence it is a redundant assignment and can be removed.
Cleans up the following clang-analyzer warning:
fs/ext4/ioctl.c:657:3: warning: Value stored to 'error' is never read
[clang-analyzer-deadcode.DeadStores].
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1619691409-83160-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions