diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-03-21 09:33:25 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-21 09:33:25 +0100 |
commit | 93929ebc813e2bbb768676ed13a1661893631504 (patch) | |
tree | b22e6e45ea149e02d2fbe2e29b38db0bfa98f32b /drivers/scsi/be2iscsi/be_cmds.c | |
parent | ALSA: hda - Add alc_codec_rename() helper (diff) | |
parent | ALSA: hda - Add PCI quirk for HP dv6-1110ax. (diff) | |
download | linux-93929ebc813e2bbb768676ed13a1661893631504.tar.xz linux-93929ebc813e2bbb768676ed13a1661893631504.zip |
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'drivers/scsi/be2iscsi/be_cmds.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_cmds.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/scsi/be2iscsi/be_cmds.c b/drivers/scsi/be2iscsi/be_cmds.c index 67098578fba4..cda6642c7368 100644 --- a/drivers/scsi/be2iscsi/be_cmds.c +++ b/drivers/scsi/be2iscsi/be_cmds.c @@ -32,18 +32,11 @@ void be_mcc_notify(struct beiscsi_hba *phba) unsigned int alloc_mcc_tag(struct beiscsi_hba *phba) { unsigned int tag = 0; - unsigned int num = 0; -mcc_tag_rdy: if (phba->ctrl.mcc_tag_available) { tag = phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index]; phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index] = 0; phba->ctrl.mcc_numtag[tag] = 0; - } else { - udelay(100); - num++; - if (num < mcc_timeout) - goto mcc_tag_rdy; } if (tag) { phba->ctrl.mcc_tag_available--; |