scsi: libfc: remove unnecessary assertion on ep variable
authorAditya Pakki <pakki001@umn.edu>
Tue, 17 Dec 2019 21:22:13 +0000 (15:22 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 20 Dec 2019 03:08:55 +0000 (22:08 -0500)
commit52b894393cecdc303990e834778d39b85d0553fc
tree1ed52026730acac1d79605935247b6a542b70dec
parent0c3dbdeb72842ffd09cd23a28b4cf100e2ea4109
scsi: libfc: remove unnecessary assertion on ep variable

In ft_recv_write_data(), the pointer ep is dereferenced first and then
asserts for NULL. The patch removes the unnecessary assertion.

Link: https://lore.kernel.org/r/20191217212214.30722-1-pakki001@umn.edu
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/tcm_fc/tfc_io.c