staging: lustre: lov: fix 'control flow' error in lov_io_init_released
authorSebastien Buisson <sbuisson@ddn.com>
Wed, 26 Jul 2017 15:22:20 +0000 (11:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 15:06:10 +0000 (08:06 -0700)
commitfb04f121db31f450afaf344ff4b72cd1735b8646
treece6ec53f73638795f25e6e8a053397e9fd62daa2
parent7cb58f19edd5e90940d1c80e467cdc6289706729
staging: lustre: lov: fix 'control flow' error in lov_io_init_released

Fix "control flow" issues found by Coverity version 6.6.1:
Logically dead code (DEADCODE)
Execution cannot reach this statement.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4048
Reviewed-on: http://review.whamcloud.com/7824
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_io.c