浏览代码

staging/fwserial: Remove superfluous free

Now that the dma fifo is allocated on activate and freed on
shutdown, this extra free is harmless but unnecessary.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Peter Hurley 13 年之前
父节点
当前提交
218cbbd821
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/staging/fwserial/fwserial.c

+ 0 - 1
drivers/staging/fwserial/fwserial.c

@@ -949,7 +949,6 @@ static void fwserial_destroy(struct kref *kref)
 
 	for (j = 0; j < num_ports; ++j) {
 		fw_core_remove_address_handler(&ports[j]->rx_handler);
-		dma_fifo_free(&ports[j]->tx_fifo);
 		tty_port_destroy(&ports[j]->port);
 		kfree(ports[j]);
 	}