]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: return error value directly
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 16 Nov 2015 14:46:46 +0000 (20:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Nov 2015 22:19:57 +0000 (14:19 -0800)
commit445d8f4a8816167704213413080ac9020236e3ba
treeb9d6b6de19f239b21583659a70ad2d07f6feacd4
parent5fab6e4901f9473a8e15e0d0007e371b3305a93f
staging: unisys: return error value directly

In case of error we are jumping to err_del_scsipending_ent and always
returning SCSI_MLQUEUE_DEVICE_BUSY from error path. We donot need a
variable to return a fixed error value, it can be returned directly.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorhba/visorhba_main.c