Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97595
b: refs/heads/master
c: 7ba2db5
h: refs/heads/master
i:
  97593: 906a394
  97591: 8f13fcf
v: v3
  • Loading branch information
Michael Reed authored and James Bottomley committed May 27, 2008
1 parent dfbaac7 commit 4786232
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f42ea7bc0ddfadebd9e1c5362b41b53902dbcb1
refs/heads/master: 7ba2db5f38955907e46a65c9334d287cd3da32c2
2 changes: 0 additions & 2 deletions trunk/drivers/message/fusion/mptfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1238,8 +1238,6 @@ mptfc_probe(struct pci_dev *pdev, const struct pci_device_id *id)
sh->max_id = ioc->pfacts->MaxDevices;
sh->max_lun = max_lun;

sh->this_id = ioc->pfacts[0].PortSCSIID;

/* Required entry.
*/
sh->unique_id = ioc->id;
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/message/fusion/mptsas.c
Original file line number Diff line number Diff line change
Expand Up @@ -3193,8 +3193,6 @@ mptsas_probe(struct pci_dev *pdev, const struct pci_device_id *id)

sh->transportt = mptsas_transport_template;

sh->this_id = ioc->pfacts[0].PortSCSIID;

/* Required entry.
*/
sh->unique_id = ioc->id;
Expand Down
8 changes: 0 additions & 8 deletions trunk/drivers/message/fusion/mptscsih.c
Original file line number Diff line number Diff line change
Expand Up @@ -2451,12 +2451,6 @@ mptscsih_slave_configure(struct scsi_device *sdev)
ioc->name, sdev->sdtr, sdev->wdtr,
sdev->ppr, sdev->inquiry_len));

if (sdev->id > sh->max_id) {
/* error case, should never happen */
scsi_adjust_queue_depth(sdev, 0, 1);
goto slave_configure_exit;
}

vdevice->configured_lun = 1;
mptscsih_change_queue_depth(sdev, MPT_SCSI_CMD_PER_DEV_HIGH);

Expand All @@ -2470,8 +2464,6 @@ mptscsih_slave_configure(struct scsi_device *sdev)
ioc->name, vtarget->negoFlags, vtarget->maxOffset,
vtarget->minSyncFactor));

slave_configure_exit:

dsprintk(ioc, printk(MYIOC_s_DEBUG_FMT
"tagged %d, simple %d, ordered %d\n",
ioc->name,sdev->tagged_supported, sdev->simple_tags,
Expand Down

0 comments on commit 4786232

Please sign in to comment.