提交 566af331 编写于 作者: V Vedang Patel 提交者: 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: NVedang Patel <vedang.patel@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册