Commit 4967bd3e authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by James Bottomley

[SCSI] hpsa: make adjust_hpsa_scsi_table return void.

Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent b2ed4f79
...@@ -733,7 +733,7 @@ static int hpsa_scsi_find_entry(struct hpsa_scsi_dev_t *needle, ...@@ -733,7 +733,7 @@ static int hpsa_scsi_find_entry(struct hpsa_scsi_dev_t *needle,
return DEVICE_NOT_FOUND; return DEVICE_NOT_FOUND;
} }
static int adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno, static void adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno,
struct hpsa_scsi_dev_t *sd[], int nsds) struct hpsa_scsi_dev_t *sd[], int nsds)
{ {
/* sd contains scsi3 addresses and devtypes, and inquiry /* sd contains scsi3 addresses and devtypes, and inquiry
...@@ -859,7 +859,6 @@ static int adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno, ...@@ -859,7 +859,6 @@ static int adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno,
free_and_out: free_and_out:
kfree(added); kfree(added);
kfree(removed); kfree(removed);
return 0;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment