diff options
author | Tobin Harding <[email protected]> | 2017-10-11 10:41:47 +1100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-10-10 16:41:47 -0700 |
commit | 523d5ce0f48a1b7127345d830e5a34079cace322 (patch) | |
tree | 682fdc258b0053c8ae445455649cbfa5c9f113fe /COPYRIGHT | |
parent | 829e95c4dc74d7d6d31d01af9c39e03752499b15 (diff) |
Fix coverity defects: CID 147474
CID 147474: Logically dead code (DEADCODE)
Remove ternary operator and return `error` directly.
Currently return value is derived from a ternary operator. The
conditional is always true. The ternary operator is therefore
redundant i.e dead code.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tobin C. Harding <[email protected]>
Closes #6723
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions