]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - lib/timerqueue.c
timerqueue: Make timerqueue_getnext() static inline
[karo-tx-linux.git] / lib / timerqueue.c
index 444b0934af9259754e61a73402a8a39eaf2807ef..e3a1050e6820e8a360b1ebf84b6a9103b9bd626f 100644 (file)
@@ -84,20 +84,6 @@ void timerqueue_del(struct timerqueue_head *head, struct timerqueue_node *node)
 }
 EXPORT_SYMBOL_GPL(timerqueue_del);
 
-/**
- * timerqueue_getnext - Returns the timer with the earlies expiration time
- *
- * @head: head of timerqueue
- *
- * Returns a pointer to the timer node that has the
- * earliest expiration time.
- */
-struct timerqueue_node *timerqueue_getnext(struct timerqueue_head *head)
-{
-       return head->next;
-}
-EXPORT_SYMBOL_GPL(timerqueue_getnext);
-
 /**
  * timerqueue_iterate_next - Returns the timer after the provided timer
  *