diff options
author | Vedang Patel <vedang.patel@intel.com> | 2019-06-26 00:07:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-28 23:45:34 +0200 |
commit | 566af331b5a6ae3969cf212c2077457d4963b0d1 (patch) | |
tree | bfcaacb5143a984accf6ee03fc3d274ba75690b3 /net/sched/sch_taprio.c | |
parent | taprio: calculate cycle_time when schedule is installed (diff) | |
download | linux-566af331b5a6ae3969cf212c2077457d4963b0d1.tar.xz linux-566af331b5a6ae3969cf212c2077457d4963b0d1.zip |
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>
Diffstat (limited to 'net/sched/sch_taprio.c')
-rw-r--r-- | net/sched/sch_taprio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_taprio.c b/net/sched/sch_taprio.c index a41d7d4434ee..6ef0cc03fdb9 100644 --- a/net/sched/sch_taprio.c +++ b/net/sched/sch_taprio.c @@ -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); } |