Tobin Harding 523d5ce0f4 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 <behlendorf1@llnl.gov>
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Closes #6723
2017-10-10 16:41:47 -07:00
..
2017-10-05 19:28:00 -07:00
2017-08-15 17:26:38 -07:00
2017-10-10 16:41:47 -07:00
2017-05-25 10:14:13 -07:00
2017-08-15 17:26:38 -07:00