forked from Minki/linux
hpsa: remove bad unlikely annotation from device list updating code
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: Justin Lindley <justin.lindley@hp.com> Reviewed-by: Mike Miller <michael.miller@canonical.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
7b2c46ee72
commit
8645291b8d
@ -3067,7 +3067,7 @@ static void hpsa_update_scsi_devices(struct ctlr_info *h, int hostno)
|
||||
ndev_allocated++;
|
||||
}
|
||||
|
||||
if (unlikely(is_scsi_rev_5(h)))
|
||||
if (is_scsi_rev_5(h))
|
||||
raid_ctlr_position = 0;
|
||||
else
|
||||
raid_ctlr_position = nphysicals + nlogicals;
|
||||
|
Loading…
Reference in New Issue
Block a user