From: Stefan Richter ohci1394: Remove superfluous call to free_dma_rcv_ctx, spotted by Adrian Bunk. Also remove some superfluous comments. Signed-off-by: Stefan Richter Cc: Jody McIntyre Cc: Ben Collins Signed-off-by: Andrew Morton --- drivers/ieee1394/ohci1394.c | 11 ----------- 1 files changed, 11 deletions(-) diff -puN drivers/ieee1394/ohci1394.c~drivers-ieee1394-ohci1394c-function-calls-without-effect drivers/ieee1394/ohci1394.c --- devel/drivers/ieee1394/ohci1394.c~drivers-ieee1394-ohci1394c-function-calls-without-effect 2006-03-09 19:58:45.000000000 -0800 +++ devel-akpm/drivers/ieee1394/ohci1394.c 2006-03-09 19:58:45.000000000 -0800 @@ -3462,24 +3462,13 @@ static void ohci1394_pci_remove(struct p case OHCI_INIT_HAVE_TXRX_BUFFERS__MAYBE: /* The ohci_soft_reset() stops all DMA contexts, so we * dont need to do this. */ - /* Free AR dma */ free_dma_rcv_ctx(&ohci->ar_req_context); free_dma_rcv_ctx(&ohci->ar_resp_context); - - /* Free AT dma */ free_dma_trm_ctx(&ohci->at_req_context); free_dma_trm_ctx(&ohci->at_resp_context); - - /* Free IR dma */ free_dma_rcv_ctx(&ohci->ir_legacy_context); - - /* Free IT dma */ free_dma_trm_ctx(&ohci->it_legacy_context); - /* Free IR legacy dma */ - free_dma_rcv_ctx(&ohci->ir_legacy_context); - - case OHCI_INIT_HAVE_SELFID_BUFFER: pci_free_consistent(ohci->dev, OHCI1394_SI_DMA_BUF_SIZE, ohci->selfid_buf_cpu, _