diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2014-04-15 10:06:50 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-04-16 23:08:57 -0500 |
commit | 1f80c0cc39e587edd06a36b43ba3a3b09d4ac428 (patch) | |
tree | 68539f36bda4fae674846affe1f8464197f7371a /fs/seq_file.c | |
parent | bae9f746a18ee31bbeeb25ae6615805ed6eca173 (diff) | |
download | op-kernel-dev-1f80c0cc39e587edd06a36b43ba3a3b09d4ac428.zip op-kernel-dev-1f80c0cc39e587edd06a36b43ba3a3b09d4ac428.tar.gz |
cif: fix dead code
This issue was found by Coverity (CID 1202536)
This proposes a fix for a statement that creates dead code.
The "rc < 0" statement is within code that is run
with "rc > 0".
It seems like "err < 0" was meant to be used here.
This way, the error code is returned by the function.
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions