[-mm patch] block/blktrace.c: make blk_trace_cleanup() static

From: Adrian Bunk
Date: Tue Feb 14 2006 - 10:20:20 EST


On Tue, Feb 14, 2006 at 01:41:57AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc2-mm1:
>...
> git-blktrace.patch
>...


blk_trace_cleanup() is needlessly global.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.16-rc3-mm1-full/block/blktrace.c.old 2006-02-14 15:42:12.000000000 +0100
+++ linux-2.6.16-rc3-mm1-full/block/blktrace.c 2006-02-14 15:42:23.000000000 +0100
@@ -171,7 +171,7 @@
return dir;
}

-void blk_trace_cleanup(struct blk_trace *bt)
+static void blk_trace_cleanup(struct blk_trace *bt)
{
relay_close(bt->rchan);
relayfs_remove_file(bt->dropped_file);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/