mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
taprio: Remove inline directive
Remove inline directive from length_to_duration(). We will let the compiler make the decisions. Signed-off-by: Vedang Patel <vedang.patel@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
037be03740
commit
566af331b5
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ static struct sk_buff *taprio_peek(struct Qdisc *sch)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static inline int length_to_duration(struct taprio_sched *q, int len)
|
||||
static int length_to_duration(struct taprio_sched *q, int len)
|
||||
{
|
||||
return div_u64(len * atomic64_read(&q->picos_per_byte), 1000);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue