aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/sbp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ieee1394/sbp2.c')
-rw-r--r--drivers/ieee1394/sbp2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c
index 24cd1e250d84..c30e03a0e63b 100644
--- a/drivers/ieee1394/sbp2.c
+++ b/drivers/ieee1394/sbp2.c
@@ -1664,10 +1664,8 @@ static int sbp2_max_speed_and_size(struct scsi_id_instance_data *scsi_id)
1664 1664
1665 SBP2_DEBUG_ENTER(); 1665 SBP2_DEBUG_ENTER();
1666 1666
1667 /* Initial setting comes from the hosts speed map */
1668 scsi_id->speed_code = 1667 scsi_id->speed_code =
1669 hi->host->speed_map[NODEID_TO_NODE(hi->host->node_id) * 64 + 1668 hi->host->speed[NODEID_TO_NODE(scsi_id->ne->nodeid)];
1670 NODEID_TO_NODE(scsi_id->ne->nodeid)];
1671 1669
1672 /* Bump down our speed if the user requested it */ 1670 /* Bump down our speed if the user requested it */
1673 if (scsi_id->speed_code > max_speed) { 1671 if (scsi_id->speed_code > max_speed) {