diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-08-14 14:22:54 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-14 14:22:54 -0400 |
commit | 24dd01bfbce685395dc0ade71308326b3861187a (patch) | |
tree | 50e9e225deb05109502b003643a359369c6c2df9 /drivers | |
parent | 370ba07eb8324569636bacb47abba79587640d05 (diff) |
[libata] ata_piix: add missing kfree()
Noticed by Andrew Morton.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/ata_piix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 46c34fd5af8f..51d919c8073d 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
@@ -932,7 +932,11 @@ static int piix_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) | |||
932 | 932 | ||
933 | static void piix_host_stop(struct ata_host_set *host_set) | 933 | static void piix_host_stop(struct ata_host_set *host_set) |
934 | { | 934 | { |
935 | struct piix_host_priv *hpriv = host_set->private_data; | ||
936 | |||
935 | ata_host_stop(host_set); | 937 | ata_host_stop(host_set); |
938 | |||
939 | kfree(hpriv); | ||
936 | } | 940 | } |
937 | 941 | ||
938 | static int __init piix_init(void) | 942 | static int __init piix_init(void) |