diff options
-rw-r--r-- | drivers/net/ethernet/ti/davinci_cpdma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet/ti/davinci_cpdma.c index 4a000f6dd6fc..32dc28964d2a 100644 --- a/drivers/net/ethernet/ti/davinci_cpdma.c +++ b/drivers/net/ethernet/ti/davinci_cpdma.c | |||
@@ -561,7 +561,6 @@ int cpdma_chan_destroy(struct cpdma_chan *chan) | |||
561 | cpdma_chan_stop(chan); | 561 | cpdma_chan_stop(chan); |
562 | ctlr->channels[chan->chan_num] = NULL; | 562 | ctlr->channels[chan->chan_num] = NULL; |
563 | spin_unlock_irqrestore(&ctlr->lock, flags); | 563 | spin_unlock_irqrestore(&ctlr->lock, flags); |
564 | kfree(chan); | ||
565 | return 0; | 564 | return 0; |
566 | } | 565 | } |
567 | EXPORT_SYMBOL_GPL(cpdma_chan_destroy); | 566 | EXPORT_SYMBOL_GPL(cpdma_chan_destroy); |