Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1502899 > unrolled thread
| Started by | Ingo Molnar <mingo@kernel.org> |
|---|---|
| First post | 2016-10-18 13:20 +0200 |
| Last post | 2016-10-18 13:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[GIT PULL] timer fix Ingo Molnar <mingo@kernel.org> - 2016-10-18 13:20 +0200
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Date | 2016-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;
}
Back to top | Article view | linux.kernel
csiph-web