There are no more users of this interface. Remove it.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -668,31 +668,6 @@ extern void tasklet_kill_immediate(struct tasklet_struct *t, unsigned int cpu); · 667 unmodified lines | |||
| 668 | extern void tasklet_init(struct tasklet_struct *t, | 668 | extern void tasklet_init(struct tasklet_struct *t, |
| 669 | void (*func)(unsigned long), unsigned long data); | 669 | void (*func)(unsigned long), unsigned long data); |
| 670 | 670 | ||
| 671 | struct tasklet_hrtimer { | ||
| 672 | struct hrtimer timer; | ||
| 673 | struct tasklet_struct tasklet; | ||
| 674 | enum hrtimer_restart (*function)(struct hrtimer *); | ||
| 675 | }; | ||
| 676 | |||
| 677 | extern void | ||
| 678 | tasklet_hrtimer_init(struct tasklet_hrtimer *ttimer, | ||
| 679 | enum hrtimer_restart (*function)(struct hrtimer *), | ||
| 680 | clockid_t which_clock, enum hrtimer_mode mode); | ||
| 681 | |||
| 682 | static inline | ||
| 683 | void tasklet_hrtimer_start(struct tasklet_hrtimer *ttimer, ktime_t time, | ||
| 684 | const enum hrtimer_mode mode) | ||
| 685 | { | ||
| 686 | hrtimer_start(&ttimer->timer, time, mode); | ||
| 687 | } | ||
| 688 | |||
| 689 | static inline | ||
| 690 | void tasklet_hrtimer_cancel(struct tasklet_hrtimer *ttimer) | ||
| 691 | { | ||
| 692 | hrtimer_cancel(&ttimer->timer); | ||
| 693 | tasklet_kill(&ttimer->tasklet); | ||
| 694 | } | ||
| 695 | |||
| 696 | /* | 671 | /* |
| 697 | * Autoprobing for irqs: | 672 | * Autoprobing for irqs: |
| 698 | * | 673 | * |