summaryrefslogtreecommitdiff
path: root/drivers/staging/fwserial
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2012-11-28 06:37:13 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 20:46:52 +0400
commit218cbbd82132d48c6f4e042e31beb6019f92db01 (patch)
tree44cf6145756a072ec0413b66972114f24c243fce /drivers/staging/fwserial
parent49b2746e1426ffa188421996a0323bdd47657108 (diff)
downloadlinux-218cbbd82132d48c6f4e042e31beb6019f92db01.tar.xz
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>
Diffstat (limited to 'drivers/staging/fwserial')
-rw-r--r--drivers/staging/fwserial/fwserial.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial.c
index 0681967337f9..61ee29083b26 100644
--- a/drivers/staging/fwserial/fwserial.c
+++ b/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]);
}