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-06 11:23:12 -07:00
2017-10-10 15:19:19 -07:00
2015-01-16 14:41:26 -08:00
2017-05-26 11:42:10 -07:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -07:00
2017-09-29 15:49:19 -07:00
2015-01-16 14:41:26 -08:00
2017-08-14 10:36:48 -07:00
2017-09-20 09:30:24 -07:00
2017-08-23 16:54:24 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2015-01-16 14:41:26 -08:00
2017-08-14 10:36:48 -07:00
2016-04-21 09:49:25 -07:00
2017-01-03 11:31:18 -06:00
2017-10-10 16:41:47 -07:00
2010-08-31 13:41:58 -07:00
2017-08-14 10:36:48 -07:00
2017-07-13 13:54:00 -04:00
2017-08-21 10:05:16 -07:00
2016-11-29 14:34:33 -08:00
2017-08-14 10:36:48 -07:00
2017-08-08 08:38:53 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2010-08-31 13:41:58 -07:00
2017-03-10 09:51:33 -08:00
2017-08-14 10:36:48 -07:00
2017-03-10 09:51:33 -08:00
2017-08-09 15:31:08 -07:00
2017-01-03 11:31:18 -06:00
2017-10-05 19:33:44 -07:00
2017-09-19 12:19:08 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2017-09-19 12:19:08 -07:00
2017-03-10 09:51:41 -08:00
2017-01-23 10:35:58 -08:00