dma.c - vfree() checking cleanups
PATCH 9/29 dma.c - vfree() checking cleanups
dma.c vfree() checking cleanups.
Signed-off by: James Lamanna <[email protected]>
dma.c | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-)
drivers/ieee1394/dma.c +4 -6
@@ -127,16 +127,12 @@ dma->dev } -if (dma->sglist) { -vfree (dma->sglist); - dma->sglist - } +vfree (dma->sglist); + dma->sglist -if (dma->kvirt) { -vfree (dma->kvirt); - dma->kvirt - dma->n_pages - } +vfree (dma->kvirt); + dma->kvirt + dma->n_pages }/* find the scatterlist index and remaining offset corresponding to a
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors