[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1237739612-18507-1-git-send-email-dmitri.vorobiev@movial.com>
Date: Sun, 22 Mar 2009 18:33:31 +0200
From: Dmitri Vorobiev <dmitri.vorobiev@...ial.com>
To: akpm@...ux-foundation.org, mingo@...e.hu,
linux-kernel@...r.kernel.org
Cc: Dmitri Vorobiev <dmitri.vorobiev@...ial.com>
Subject: [PATCH 1/2] One variable in kernel/time/tick-broadcast.c can become static
The variable tick_broadcast_device is not used outside of the
file where it is defined, so let's make it static.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@...ial.com>
---
kernel/time/tick-broadcast.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
index 118a3b3..877dbed 100644
--- a/kernel/time/tick-broadcast.c
+++ b/kernel/time/tick-broadcast.c
@@ -27,7 +27,7 @@
* timer stops in C3 state.
*/
-struct tick_device tick_broadcast_device;
+static struct tick_device tick_broadcast_device;
/* FIXME: Use cpumask_var_t. */
static DECLARE_BITMAP(tick_broadcast_mask, NR_CPUS);
static DECLARE_BITMAP(tmpmask, NR_CPUS);
--
1.5.6.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists