Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1502899 > unrolled thread

[GIT PULL] timer fix

Started byIngo Molnar <mingo@kernel.org>
First post2016-10-18 13:20 +0200
Last post2016-10-18 13:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [GIT PULL] timer fix Ingo Molnar <mingo@kernel.org> - 2016-10-18 13:20 +0200

#1502899 — [GIT PULL] timer fix

FromIngo Molnar <mingo@kernel.org>
Date2016-10-18 13:20 +0200
Subject[GIT PULL] timer fix
Message-ID<stAB3-T8-5@gated-at.bofh.it>
Linus,

Please pull the latest timers-urgent-for-linus git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus

   # HEAD: 54e23845e965898f65f76aba79fa9db76d830fa9 alarmtimer: Remove unused but set variable

Remove an unused variable.

 Thanks,

	Ingo

------------------>
Tobias Klauser (1):
      alarmtimer: Remove unused but set variable


 kernel/time/alarmtimer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
index c3aad685bbc0..12dd190634ab 100644
--- a/kernel/time/alarmtimer.c
+++ b/kernel/time/alarmtimer.c
@@ -542,7 +542,6 @@ static int alarm_clock_get(clockid_t which_clock, struct timespec *tp)
 static int alarm_timer_create(struct k_itimer *new_timer)
 {
 	enum  alarmtimer_type type;
-	struct alarm_base *base;
 
 	if (!alarmtimer_get_rtcdev())
 		return -ENOTSUPP;
@@ -551,7 +550,6 @@ static int alarm_timer_create(struct k_itimer *new_timer)
 		return -EPERM;
 
 	type = clock2alarm(new_timer->it_clock);
-	base = &alarm_bases[type];
 	alarm_init(&new_timer->it.alarm.alarmtimer, type, alarm_handle_timer);
 	return 0;
 }

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web