Commit 8645291b authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by Christoph Hellwig

hpsa: remove bad unlikely annotation from device list updating code

Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Reviewed-by: default avatarJustin Lindley <justin.lindley@hp.com>
Reviewed-by: default avatarMike Miller <michael.miller@canonical.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 7b2c46ee
...@@ -3067,7 +3067,7 @@ static void hpsa_update_scsi_devices(struct ctlr_info *h, int hostno) ...@@ -3067,7 +3067,7 @@ static void hpsa_update_scsi_devices(struct ctlr_info *h, int hostno)
ndev_allocated++; ndev_allocated++;
} }
if (unlikely(is_scsi_rev_5(h))) if (is_scsi_rev_5(h))
raid_ctlr_position = 0; raid_ctlr_position = 0;
else else
raid_ctlr_position = nphysicals + nlogicals; raid_ctlr_position = nphysicals + nlogicals;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment