aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/hpsa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 2c256e31b107..6fe5142adc5e 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -733,7 +733,7 @@ static int hpsa_scsi_find_entry(struct hpsa_scsi_dev_t *needle,
733 return DEVICE_NOT_FOUND; 733 return DEVICE_NOT_FOUND;
734} 734}
735 735
736static int adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno, 736static void adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno,
737 struct hpsa_scsi_dev_t *sd[], int nsds) 737 struct hpsa_scsi_dev_t *sd[], int nsds)
738{ 738{
739 /* sd contains scsi3 addresses and devtypes, and inquiry 739 /* sd contains scsi3 addresses and devtypes, and inquiry
@@ -859,7 +859,6 @@ static int adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno,
859free_and_out: 859free_and_out:
860 kfree(added); 860 kfree(added);
861 kfree(removed); 861 kfree(removed);
862 return 0;
863} 862}
864 863
865/* 864/*