Commit 07152268 authored by James Bottomley's avatar James Bottomley Committed by Christoph Hellwig

[SCSI] remove duplicate device registration

From Mike Anderson and Patrick Mansfield
parent ff788a74
......@@ -551,9 +551,6 @@ static inline void scsi_set_pci_device(struct Scsi_Host *shost,
{
shost->pci_dev = pdev;
shost->host_driverfs_dev.parent=&pdev->dev;
/* register parent with driverfs */
device_register(&shost->host_driverfs_dev);
}
......
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