* [PATCH 1/1] Char: mxser_new, do not put pdev
@ 2006-12-30 23:44 Jiri Slaby
0 siblings, 0 replies; only message in thread
From: Jiri Slaby @ 2006-12-30 23:44 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
mxser_new, do not put pdev
We don't call pci_dev_get, so do not call pci_dev_put in the pci release
function.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
commit c614729fee9638269d0881cf6ab895f19122225a
tree 84e4d767dbd91faf59e2e4dd93ea780439451cfd
parent 412f4e2b96e2d30da853368c2a04a2701c0be7b8
author Jiri Slaby <jirislaby@gmail.com> Sun, 31 Dec 2006 00:09:28 +0059
committer Jiri Slaby <jirislaby@gmail.com> Sun, 31 Dec 2006 00:09:28 +0059
drivers/char/mxser_new.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index f078ddf..0b66056 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -2348,7 +2348,6 @@ static void mxser_release_res(struct mxser_board *brd, struct pci_dev *pdev,
#ifdef CONFIG_PCI
pci_release_region(pdev, 2);
pci_release_region(pdev, 3);
- pci_dev_put(pdev);
#endif
} else {
release_region(brd->ports[0].ioaddr, 8 * brd->info->nports);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-30 23:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-30 23:44 [PATCH 1/1] Char: mxser_new, do not put pdev Jiri Slaby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox