Loading drivers/scsi/hpsa.c +1 −2 Original line number Original line Diff line number Diff line Loading @@ -628,8 +628,7 @@ static void hpsa_scsi_remove_entry(struct ctlr_info *h, int hostno, int entry, int i; int i; struct hpsa_scsi_dev_t *sd; struct hpsa_scsi_dev_t *sd; if (entry < 0 || entry >= HPSA_MAX_SCSI_DEVS_PER_HBA) BUG_ON(entry < 0 || entry >= HPSA_MAX_SCSI_DEVS_PER_HBA); BUG(); sd = h->dev[entry]; sd = h->dev[entry]; removed[*nremoved] = h->dev[entry]; removed[*nremoved] = h->dev[entry]; Loading Loading
drivers/scsi/hpsa.c +1 −2 Original line number Original line Diff line number Diff line Loading @@ -628,8 +628,7 @@ static void hpsa_scsi_remove_entry(struct ctlr_info *h, int hostno, int entry, int i; int i; struct hpsa_scsi_dev_t *sd; struct hpsa_scsi_dev_t *sd; if (entry < 0 || entry >= HPSA_MAX_SCSI_DEVS_PER_HBA) BUG_ON(entry < 0 || entry >= HPSA_MAX_SCSI_DEVS_PER_HBA); BUG(); sd = h->dev[entry]; sd = h->dev[entry]; removed[*nremoved] = h->dev[entry]; removed[*nremoved] = h->dev[entry]; Loading