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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux