aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fnic/fnic_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/fnic/fnic_main.c')
-rw-r--r--drivers/scsi/fnic/fnic_main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c
index 8a0d4d7b3254..58ce9020d69c 100644
--- a/drivers/scsi/fnic/fnic_main.c
+++ b/drivers/scsi/fnic/fnic_main.c
@@ -118,7 +118,6 @@ static struct scsi_host_template fnic_host_template = {
118 .sg_tablesize = FNIC_MAX_SG_DESC_CNT, 118 .sg_tablesize = FNIC_MAX_SG_DESC_CNT,
119 .max_sectors = 0xffff, 119 .max_sectors = 0xffff,
120 .shost_attrs = fnic_attrs, 120 .shost_attrs = fnic_attrs,
121 .use_blk_tags = 1,
122 .track_queue_depth = 1, 121 .track_queue_depth = 1,
123}; 122};
124 123
@@ -697,13 +696,6 @@ static int fnic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
697 } 696 }
698 fnic->fnic_max_tag_id = host->can_queue; 697 fnic->fnic_max_tag_id = host->can_queue;
699 698
700 err = scsi_init_shared_tag_map(host, fnic->fnic_max_tag_id);
701 if (err) {
702 shost_printk(KERN_ERR, fnic->lport->host,
703 "Unable to alloc shared tag map\n");
704 goto err_out_dev_close;
705 }
706
707 host->max_lun = fnic->config.luns_per_tgt; 699 host->max_lun = fnic->config.luns_per_tgt;
708 host->max_id = FNIC_MAX_FCP_TARGET; 700 host->max_id = FNIC_MAX_FCP_TARGET;
709 host->max_cmd_len = FCOE_MAX_CMD_LEN; 701 host->max_cmd_len = FCOE_MAX_CMD_LEN;