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
|
@ -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 New Issue