[SCSI] qla4xxx: Break the loop if the sendtargets list was empty
authorNilesh Javali <nilesh.javali@qlogic.com>
Fri, 16 Dec 2011 09:58:57 +0000 (01:58 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 10 Jan 2012 23:01:22 +0000 (17:01 -0600)
commitf1f2e60e1a2320d0ce11102b72b15d5dedb29fe2
tree0da20240c8b7717ef18faeebe21a4f11af21e008
parentc28eaaca7acea214937fb9b3ae45e001d49947bf
[SCSI] qla4xxx: Break the loop if the sendtargets list was empty

Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c