]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Remove session creation redundant code
authorQuinn Tran <quinn.tran@cavium.com>
Thu, 28 Dec 2017 20:33:32 +0000 (12:33 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Jan 2018 04:41:07 +0000 (23:41 -0500)
commit597da436d9a5793a6d68f81ef87ed5b353067f85
tree3d66b2e25d6b3dc02330eea39d8d7bbe94c7eb55
parent29367847ef03b518c0d1c695025591cca4470c2d
scsi: qla2xxx: Remove session creation redundant code

Current code creates a session when a new port is
discovered, and a PLOGI/PRLI is received. There is
no need to create session when command has arrived.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c