From: Stephen M. Cameron Date: Thu, 29 May 2014 15:53:49 +0000 (-0500) Subject: hpsa: remove bad unlikely annotation from device list updating code X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=8645291b8d1bac28efb803e768e91f24c814679c;p=deliverable%2Flinux.git hpsa: remove bad unlikely annotation from device list updating code Signed-off-by: Stephen M. Cameron Reviewed-by: Justin Lindley Reviewed-by: Mike Miller Signed-off-by: Christoph Hellwig --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 538b8c68bb95..836c6c013ee8 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -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;