[libata] Remove ->port_disable() hook
It was always set to ata_port_disable(). Removed the hook, and replaced the very few ap->ops->port_disable() callsites with direct calls to ata_port_disable(). Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
7d73a363de
commit
ac8869d56d
67 changed files with 3 additions and 132 deletions
|
@ -600,8 +600,6 @@ struct ata_port {
|
|||
};
|
||||
|
||||
struct ata_port_operations {
|
||||
void (*port_disable) (struct ata_port *);
|
||||
|
||||
void (*dev_config) (struct ata_device *);
|
||||
|
||||
void (*set_piomode) (struct ata_port *, struct ata_device *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue