Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] hpsa: remove atrophied hpsa_scsi_setup function

hpsa_scsi_setup at one time contained enough code to justify
its existence, but that time has passed.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

authored by

Stephen M. Cameron and committed by
James Bottomley
9a41338e 2b870cb3

+3 -8
+3 -8
drivers/scsi/hpsa.c
··· 929 929 /* nothing to do. */ 930 930 } 931 931 932 - static void hpsa_scsi_setup(struct ctlr_info *h) 933 - { 934 - h->ndevices = 0; 935 - h->scsi_host = NULL; 936 - spin_lock_init(&h->devlock); 937 - } 938 - 939 932 static void hpsa_free_sg_chain_blocks(struct ctlr_info *h) 940 933 { 941 934 int i; ··· 3963 3970 h->scan_finished = 1; /* no scan currently in progress */ 3964 3971 3965 3972 pci_set_drvdata(pdev, h); 3966 - hpsa_scsi_setup(h); 3973 + h->ndevices = 0; 3974 + h->scsi_host = NULL; 3975 + spin_lock_init(&h->devlock); 3967 3976 3968 3977 /* Turn the interrupts on so we can service requests */ 3969 3978 h->access.set_intr_mask(h, HPSA_INTR_ON);