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)
commit34d96c0dedbfbba50349dcc76546a86ad59a0789
treeb9d6b6de19f239b21583659a70ad2d07f6feacd4
parent559b7d2444790415b8818d3154afba7e74f5925f
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