summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@evo.osdl.org>2004-04-19 01:20:19 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-19 01:20:19 -0700
commitb35a6769c113563a88f6d0919b8b8b93bc9bd638 (patch)
tree3fc92d1116894cd3b9005f071f14dadb2b3bd957 /kernel
parent3fd2eaadb3ebe7c03dc13fea3a021fbe92c15a90 (diff)
Remove unnecessary declaration of inline functions
Diffstat (limited to 'kernel')
-rw-r--r--kernel/posix-timers.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c
index 3de4d0ae9d26..f846b77a205e 100644
--- a/kernel/posix-timers.c
+++ b/kernel/posix-timers.c
@@ -189,7 +189,11 @@ static u64 do_posix_clock_monotonic_gettime_parts(
int do_posix_clock_monotonic_gettime(struct timespec *tp);
int do_posix_clock_monotonic_settime(struct timespec *tp);
static struct k_itimer *lock_timer(timer_t timer_id, unsigned long *flags);
-static inline void unlock_timer(struct k_itimer *timr, unsigned long flags);
+
+static inline void unlock_timer(struct k_itimer *timr, unsigned long flags)
+{
+ spin_unlock_irqrestore(&timr->it_lock, flags);
+}
/*
* Initialize everything, well, just everything in Posix clocks/timers ;)
@@ -553,11 +557,6 @@ static int good_timespec(const struct timespec *ts)
return 1;
}
-static inline void unlock_timer(struct k_itimer *timr, unsigned long flags)
-{
- spin_unlock_irqrestore(&timr->it_lock, flags);
-}
-
/*
* Locking issues: We need to protect the result of the id look up until
* we get the timer locked down so it is not deleted under us. The