diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-11-04 17:11:03 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-12-03 02:46:34 -0500 |
commit | 7095e3eb49869051594b33f6110edd65aff6be50 (patch) | |
tree | 026df9eb33d60c3a7311cee10d668d47f2627220 /kernel/rcutree.h | |
parent | ba3a221ce2ec0b636a15e12c23c97af68b9b1114 (diff) |
pata_via: fix double put on isa bridge
In via_init_one, when via_isa_bridges iterator reaches
PCI_DEVICE_ID_VIA_ANON and last but one via_isa_bridges bridge is
found but rev doesn't match, pci_dev_put(isa) is called twice.
Do pci_dev_put only once.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'kernel/rcutree.h')
0 files changed, 0 insertions, 0 deletions