target/pscsi: remove an unneeded check
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 15 Aug 2013 05:55:41 +0000 (08:55 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 9 Sep 2013 21:29:23 +0000 (14:29 -0700)
commitfdb4c1f399f7632c326b6f5f4283dbd7a3934dbb
tree49a4604a345e0be1a301a1bd0bf3c742d60c142b
parent988e3a85463d9b6dabc681df3f8f131b23c19953
target/pscsi: remove an unneeded check

blk_get_request() just returns NULL on error, it doesn't return an
ERR_PTR.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_pscsi.c