From: Adrian Bunk Date: Wed, 30 Apr 2008 07:54:30 +0000 (-0700) Subject: make marker_debug static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ab883af53ec1b87add43b32a28d8347f17d5155b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git make marker_debug static With the needlessly global marker_debug being static gcc can optimize the unused code away. Signed-off-by: Adrian Bunk Acked-by: Mathieu Desnoyers Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/marker.c b/kernel/marker.c index 139260e5460..b5a9fe1d50d 100644 --- a/kernel/marker.c +++ b/kernel/marker.c @@ -29,7 +29,7 @@ extern struct marker __start___markers[]; extern struct marker __stop___markers[]; /* Set to 1 to enable marker debug output */ -const int marker_debug; +static const int marker_debug; /* * markers_mutex nests inside module_mutex. Markers mutex protects the builtin