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 <[EMAIL PROTECTED]> --- commit c614729fee9638269d0881cf6ab895f19122225a tree 84e4d767dbd91faf59e2e4dd93ea780439451cfd parent 412f4e2b96e2d30da853368c2a04a2701c0be7b8 author Jiri Slaby <[EMAIL PROTECTED]> Sun, 31 Dec 2006 00:09:28 +0059 committer Jiri Slaby <[EMAIL PROTECTED]> 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/