提交 8645291b 编写于 作者: S Stephen M. Cameron 提交者: Christoph Hellwig

hpsa: remove bad unlikely annotation from device list updating code

Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com>
Reviewed-by: NJustin Lindley <justin.lindley@hp.com>
Reviewed-by: NMike Miller <michael.miller@canonical.com>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册