lkml.org 
[lkml]   [2006]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] block/blktrace.c: make blk_trace_cleanup() static
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@stusta.de>

--- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-14 16:26    [W:0.429 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site