Skip to content

Commit

Permalink
clockevents: tick_broadcast_device can become static
Browse files Browse the repository at this point in the history
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@movial.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Dmitri Vorobiev authored and Thomas Gleixner committed May 2, 2009
1 parent 091438d commit a52f5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/time/tick-broadcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a52f5c5

Please sign in to comment.