Commit 566af331 authored by Vedang Patel's avatar Vedang Patel Committed by David S. Miller

taprio: Remove inline directive

Remove inline directive from length_to_duration(). We will let the compiler
make the decisions.
Signed-off-by: default avatarVedang Patel <vedang.patel@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 037be037
...@@ -168,7 +168,7 @@ static struct sk_buff *taprio_peek(struct Qdisc *sch) ...@@ -168,7 +168,7 @@ static struct sk_buff *taprio_peek(struct Qdisc *sch)
return NULL; 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); return div_u64(len * atomic64_read(&q->picos_per_byte), 1000);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment