[SCSI] qla2xxx: Remove qla2x00_wait_for_loop_ready function.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Fri, 18 Nov 2011 17:02:09 +0000 (09:02 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 12 Dec 2011 08:31:34 +0000 (12:31 +0400)
commitad537689c30d8e35300dcc93a109a966b8a89478
tree05d6836525cd9cc52540a8cbea0a19f68eaba9fe
parentf6a290b419a2675c4b77a6b0731cd2a64332365e
[SCSI] qla2xxx: Remove qla2x00_wait_for_loop_ready function.

This function can wait for 5min under certain scenarios. One of them is when
the port is down from switch and bus reset is issued. The bus reset used to
wait for 5 minutes for the loop and upper layer callers used to hang and give
stack trace because of getting stuck for 120 sec. It is legacy code that was
used when the driver used to do queuing of the commands.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_os.c